[LLVMbugs] [Bug 573] NEW: crash using gccas for compiling cfrontend under Linux/PPC

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 8 05:54:08 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=573

           Summary: crash using gccas for compiling cfrontend under
                    Linux/PPC
           Product: tools
           Version: 1.5
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: gccas
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: cyrille.mescam at lip6.fr
                CC: cyrille.mescam at lip6.fr


When compiling the cfrontend for Linux/PPC architecture on a powermac G5, i got
the following error :

-------------------------------Compilation error listing

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make
GCC_FOR_TARGET="/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/xgcc
-B/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/bin/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/lib/
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/include
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/sys-include"
\
  AR_FOR_TARGET="powerpc-unknown-linux-gnu-ar" \
  AR_CREATE_FOR_TARGET="powerpc-unknown-linux-gnu-ar  rc" \
  AR_EXTRACT_FOR_TARGET="powerpc-unknown-linux-gnu-ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="loser-" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC 
-DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\"   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include 
-fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -fPIC -mstrict-align "  \
  MULTILIB_CFLAGS=" -fPIC -mstrict-align" T= ecrti.o
make[3]: Entering directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/xgcc
-B/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/bin/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/lib/
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/include
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/sys-include
-DIN_GCC  -DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\"   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I.
-I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include  -fPIC
-mstrict-align -c ecrti.S -o ecrti.o
gccas: /tmp/ccxlWeFz.s:1: syntax error, unexpected $undefined
/tmp/ccxlWeFz.s:1:  while reading token: '#'
make[3]: *** [ecrti.o] Erreur 1
make[3]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make[2]: *** [ecrti.o] Erreur 2
make[2]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make[1]: *** [stmp-multilib] Erreur 2
make[1]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make: *** [all-gcc] Erreur 2

-------------------------------END Compilation error listing

It seems that error has to do with gccas which failed to parse a file (?!)

If anyone has an idea...

Regards.

Cyrille Mescam

--
M. Cyrille Mescam
LIP6 - UPMC - CNRS
SRC Team - VVM Project
http://vvm.lip6.fr/



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list