Closed Quuxplusone closed 14 years ago
Bugzilla Link | PR958 |
Status | RESOLVED FIXED |
Importance | P release blocker |
Reported by | Scott Michel (scooter.phd@gmail.com) |
Reported on | 2006-10-19 17:20:28 -0700 |
Last modified on | 2010-02-22 12:44:08 -0800 |
Version | trunk |
Hardware | Macintosh MacOS X |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Ugh. Even with unwrapping the switch/case statements to equivalent if
statements, gcc decides (even with -O0) to create jump tables. Of course, this
wreaks havoc in the assembler and I'm back at square 0.
Yup, it's the assembler. Recommended workaround is to install odcctools from
DarwinPorts (or equivalent upgraded binutils) and run configure for the C
frontend as follows:
env AS=/opt/local/bin/odas LD=/opt/local/bin/odld ../configure
--prefix=/Users/scottm/play/llvm-cfrontend/obj/../powerpc-apple-darwin8.0
--program-prefix=llvm- --enable-llvm=`pwd`/../../llvm/obj/
--enable-languages=c,c++ --with-as=/opt/local/bin/odas --with-
ld=/opt/local/bin/odld