LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 28988 - r278659 problem
Summary: r278659 problem
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: ARM (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-15 15:04 PDT by Matthias Braun
Modified: 2016-08-16 08:10 PDT (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments
Reproducer (11.34 KB, application/octet-stream)
2016-08-15 15:04 PDT, Matthias Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Braun 2016-08-15 15:04:20 PDT
Created attachment 16957 [details]
Reproducer

The new assert/check added in r278659 triggers when building a normal(?) c file from compiler-rt/sanitizer.

I attach a reduced example:

> llc -filetype=obj err_278659.ll
LLVM ERROR: out of range pc-relative fixup value
Comment 1 Renato Golin 2016-08-15 15:18:51 PDT
Also broke ARM's self-hosting bot:

http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/3918

"fatal error: error in backend: out of range pc-relative fixup value" in:

FAILED: /home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin/clang++   -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/lib/Support -Iinclude -I/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/include -mcpu=cortex-a15 -mthumb -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -O3    -UNDEBUG  -fno-exceptions -fno-rtti -MMD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/lib/Support/ScaledNumber.cpp
Comment 2 Prakhar Bahuguna 2016-08-16 08:10:27 PDT
Now resolved in r278789.