[LLVMbugs] [Bug 6663] New: MultiSource/Benchmarks/Bullet/bullet fails on x86-32 linux when using -fPIC
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Mar 20 13:58:44 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6663
Summary: MultiSource/Benchmarks/Bullet/bullet fails on x86-32
linux when using -fPIC
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Split out of PR6654.
Compiling bullet like this works:
$ llvm-g++ -o bullet -O2 -I include -DNO_TIME *.cpp
$ ./bullet
BenchmarkDemo: 3000 fall, Frame: 0
BenchmarkDemo: 3000 fall, Frame: 25
...
Adding -fPIC causes it to fail (the testsuite uses pic, which is why bullet
fails there):
$ llvm-g++ -o bullet -O2 -I include -DNO_TIME *.cpp -fPIC
$ ./bullet
Segmentation fault (core dumped)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list