http://llvm.org/bugs/show_bug.cgi?id=4693

           Summary: arm llvm-gcc build missing symbol ___aeabi_cdcmple but
                    __aeabi_cdcmple is present
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Building llvm-gcc on armv7 linux natively makes it to stage two after
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083768.html
is applied. Once there, we get this problem in configure:

configure:2118: checking for C compiler default output file name
configure:2121:  /home/nlewycky/llvm-gcc/build/./prev-gcc/xgcc
-B/home/nlewycky/llvm-gcc/build/./prev-gcc/
-B/home/nlewycky/llvm-gcc/install/armv7l-unknown-linux-gnueabi/bin/ -g -O2  
conftest.c  >&5
/home/nlewycky/llvm-gcc/build/./prev-gcc/cc1: symbol lookup error:
/home/nlewycky/llvm-gcc/build/./prev-gcc/libgcc_s.so.1: undefined symbol:
___aeabi_cdcmple
configure:2124: $? = 1
[snip trivial program]

Checking libgcc_s.so.1 with nm, we see:
         U ___aeabi_cdcmple
         U ___aeabi_cdrcmple
         U ___aeabi_cfcmple
         U ___aeabi_cfrcmple
         U ___cmpdf2
         U ___cmpsf2
[...]
0000316c T __aeabi_cdcmpeq
0000316c T __aeabi_cdcmple
0000315c T __aeabi_cdrcmple
00003878 T __aeabi_cfcmpeq
00003878 T __aeabi_cfcmple
00003870 T __aeabi_cfrcmple
0000329c T __aeabi_d2f
0000320c T __aeabi_d2iz
00005fa8 T __aeabi_d2lz
[many many more defined]

The difference is that the undefined symbols have three underscores while the
defined ones have two. How'd that happen?


-- 
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