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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to