[LLVMdev] llvm-gcc compile failure on darwin8.8

Dietmar Ebner ebner at complang.tuwien.ac.at
Mon Mar 26 08:15:27 PDT 2007


hi,

On Mar 12, 2007, at 10:16 AM, Dietmar Ebner wrote:
> upgrading llvm-gcc4 from 1.9 release to trunk caused the following
> build failure for me on darwin:
>
> build/genattrtab /Users/ebner/dev/opt/llvm-gcc-svn/gcc/config/i386/
> i386.md > tmp-attrtab.c
> genattrtab: Automaton `ppro_load': Insn `ppro_fmov_XF_load' will
> never be issued
> genattrtab: Automaton `ppro_load': Insn `ppro_sse_icvt_SF' will never
> be issued
> genattrtab: Automaton `ppro_load': Insn `ppro_sse_add_V4SF_load' will
> never be issued
> [...]
> make[1]: *** [s-attrtab] Error 1
> make: *** [all-gcc] Error 2
>
> i filed some further details here:
> http://llvm.org/bugs/show_bug.cgi?id=1247
the problem occurs if there's a previous install dir of llvm(-gcc) in  
the PATH. there are similar problems when upgrading llvm, e.g.,  
tblgen appears to be taken from the previous installation instead of  
being rebuild. is this intentional or a bug?

however, even when building with a sane environment i get the  
following error both with and without --disable-multilib
----------------------------------------------------------
# When building multilibbed target libraries, all the required
# libraries are expected to exist in the multilib directory.
MLIBS=`/Users/ebner/dev/build/llvm-gcc4/gcc/xgcc -B/Users/ebner/dev/ 
build/llvm-gcc4/gcc/ -B/Users/ebner/dev/install//i686-apple-darwin8/ 
bin/ -B/Users/ebner/dev/install//i686-apple-darwin8/lib/ -isystem / 
Users/ebner/dev/install//i686-apple-darwin8/include -isystem /Users/ 
ebner/dev/install//i686-apple-darwin8/sys-include --print-multi-lib \
         | sed -e 's/;.*$//' -e '/^\.$/d'` ; \
for mlib in '' $MLIBS ; do \
   cp ./${mlib}/libgcc_s.1.dylib.tmp \
     ./libgcc_s.1.dylib_T_${mlib} || exit 1 ; \
done
lipo -output libgcc_s.1.dylib \
   -create libgcc_s.1.dylib_T*
rm libgcc_s.1.dylib_T*
make[1]: *** [libgcc_s.1.dylib] Floating point exception
make[1]: *** Deleting file `libgcc_s.1.dylib'
make: *** [all-gcc] Error 2
----------------------------------------------------------
can anybody give me a hint what might be going on?

cheers,

-
dietmar



More information about the llvm-dev mailing list