[LLVMbugs] [Bug 15763] New: emits PPC asm with relocation overflow, displacement too large [powerpc-darwin8]
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 16 18:36:05 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15763
Bug ID: 15763
Summary: emits PPC asm with relocation overflow, displacement
too large [powerpc-darwin8]
Product: libraries
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: fang at csl.cornell.edu
CC: llvmbugs at cs.uiuc.edu
Depends on: 15726
Classification: Unclassified
Using -no-integrated-as, my stage-2 build of LLVMSupport on powerpc-darwin8 now
halts at:
Linking CXX shared library ../libLLVMSupport.dylib
cd /Users/fang/local/src/LLVM-svn/gcc40-stage2-build/lib/Support &&
/Volumes/Mercedes2/sw/bin/cmake -E cmake_link_script
CMakeFiles/LLVMSupport.dir/link.txt --verbose=1
/Volumes/Isolde/sources/LLVM-svn/gcc40-cmake-build/bin/clang++
-I/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include -fno-common
-no-integrated-as -fno-dwarf2-cfi-asm -fPIC -fvisibility-inlines-hidden -Wall
-W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
-Wnon-virtual-dtor -fno-rtti -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-dynamiclib -Wl,-headerpad_max_install_names -target 10.4
-L/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/lib/clang/3.3/lib/darwin
-lclang_rt.ppc -o ../libLLVMSupport.dylib -install_name
/Users/fang/local/src/LLVM-svn/gcc40-stage2-build/lib/libLLVMSupport.dylib
CMakeFiles/LLVMSupport.dir/APFloat.cpp.o CMakeFiles/LLVMSupport.dir/APInt.cpp.o
CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
CMakeFiles/LLVMSupport.dir/ConstantRange.cpp.o
CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o
CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
CMakeFiles/LLVMSupport.dir/DataStream.cpp.o
CMakeFiles/LLVMSupport.dir/Debug.cpp.o
CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o
CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
CMakeFiles/LLVMSupport.dir/Format.cpp.o
CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o
CMakeFiles/LLVMSupport.dir/IsInf.cpp.o CMakeFiles/LLVMSupport.dir/IsNAN.cpp.o
CMakeFiles/LLVMSupport.dir/Locale.cpp.o
CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o
CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
CMakeFiles/LLVMSupport.dir/Regex.cpp.o
CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
CMakeFiles/LLVMSupport.dir/StreamableMemoryObject.cpp.o
CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
CMakeFiles/LLVMSupport.dir/StringPool.cpp.o
CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
CMakeFiles/LLVMSupport.dir/Timer.cpp.o
CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
CMakeFiles/LLVMSupport.dir/Triple.cpp.o CMakeFiles/LLVMSupport.dir/Twine.cpp.o
CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/regcomp.c.o CMakeFiles/LLVMSupport.dir/regerror.c.o
CMakeFiles/LLVMSupport.dir/regexec.c.o CMakeFiles/LLVMSupport.dir/regfree.c.o
CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
CMakeFiles/LLVMSupport.dir/Disassembler.cpp.o
CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
CMakeFiles/LLVMSupport.dir/Errno.cpp.o CMakeFiles/LLVMSupport.dir/Host.cpp.o
CMakeFiles/LLVMSupport.dir/IncludeFile.cpp.o
CMakeFiles/LLVMSupport.dir/Memory.cpp.o CMakeFiles/LLVMSupport.dir/Mutex.cpp.o
CMakeFiles/LLVMSupport.dir/Path.cpp.o CMakeFiles/LLVMSupport.dir/PathV2.cpp.o
CMakeFiles/LLVMSupport.dir/Process.cpp.o
CMakeFiles/LLVMSupport.dir/Program.cpp.o
CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o
CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o
CMakeFiles/LLVMSupport.dir/Signals.cpp.o
CMakeFiles/LLVMSupport.dir/system_error.cpp.o
CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o
CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o
CMakeFiles/LLVMSupport.dir/Threading.cpp.o
CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o
CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o
CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
CMakeFiles/LLVMSupport.dir/stacktrace.cc.o -lpthread -lclang_rt.ppc
ld: CMakeFiles/LLVMSupport.dir/APInt.cpp.o relocation overflow for relocation
entry 9 in section (__TEXT,__picsymbolstub1) (displacement too large)
ld: CMakeFiles/LLVMSupport.dir/APInt.cpp.o relocation overflow for relocation
entry 14 in section (__TEXT,__picsymbolstub1) (displacement too large)
ld: CMakeFiles/LLVMSupport.dir/APInt.cpp.o relocation overflow for relocation
entry 19 in section (__TEXT,__picsymbolstub1) (displacement too large)
ld: CMakeFiles/LLVMSupport.dir/Allocator.cpp.o relocation overflow for
relocation entry 4 in section (__TEXT,__picsymbolstub1) (displacement too
large)
ld: CMakeFiles/LLVMSupport.dir/Allocator.cpp.o relocation overflow for
relocation entry 9 in section (__TEXT,__picsymbolstub1) (displacement too
large)
ld: CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o relocation overflow for
relocation entry 4 in section (__TEXT,__picsymbolstub1) (displacement too
large)
ld: CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o relocation overflow for
relocation entry 9 in section (__TEXT,__picsymbolstub1) (displacement too
large)
ld: CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o relocation overflow
for relocation entry 4 in section (__TEXT,__picsymbolstub1) (displacement too
large)
... more ...
This doesn't involve the MC code yet.
The system assembler /usr/bin/as doesn't complain.
Only the linker does.
Is the assembly generated bad?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130417/278350e4/attachment.html>
More information about the llvm-bugs
mailing list