[Bug c++/29780] temporary file breaks cross-build

2006-11-09 Thread valentin dot longchamp at gmail dot com


--- Comment #1 from valentin dot longchamp at gmail dot com  2006-11-09 
12:15 ---
I'm the guy who asked him about the bug report.

The same happened to me with a "armv6-angstrom-linux-gnueabi" target (angstrom
is a openembedded based distribution).

I used the same fix (removing the as shell script) successfully


-- 

valentin dot longchamp at gmail dot com changed:

   What|Removed |Added

 CC|        |valentin dot longchamp at
   |            |gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29780



[Bug bootstrap/29780] temporary file breaks cross-build

2006-12-05 Thread valentin dot longchamp at gmail dot com


--- Comment #4 from valentin dot longchamp at gmail dot com  2006-12-05 
09:04 ---
I've upgraded my toolchain (it is automatically built by my embedded Linux
development framework, openembedded) and the problem is here again. The version
used for gcc is 4.1.1.

Here are the last compilation lines:

TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh
/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/mkconfig.sh
tconfig.h
(echo "@set version-GCC 4.1.1"; \
 if [ "" = "experimental" ]; \
 then echo "@set DEVELOPMENT"; \
 else echo "@clear DEVELOPMENT"; \
 fi) > gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
gawk -f
/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/opt-functions.awk
-f /home/valentin/EPFL/iM
XBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/optc-gen.awk
\
   -v header_name="config.h system.h coretypes.h tm.h" < optionlist
> options.c
ccache gcc -c  
-isystem/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/staging/i686-linux/include
-Os  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes
 -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition -Wmissing-format-attribute-DHAVE_CONFIG_H -I. -I.
-I/home/valentin/EPFL/iMXBoard/linux/openembedded/bu
ild/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc
-I/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gn
ueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/.
-I/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/
../include
-I/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/../libcpp/include
 -isystem/home/valen
tin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/staging/i686-linux/include
 
/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc
-cross-initial-4.1.1-r8/gcc-4.1.1/gcc/pointer-set.c -o pointer-set.o
/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/cross/bin/arm-angstrom-linux-gnueabi-as:
unrecognized option `-Qy'
make[2]: *** [pointer-set.o] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/build.i686-linux.arm-angstr
om-linux-gnueabi/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/home/valentin/EPFL/iMXBoard/linux/openembedded/build/mx31ADS/conf/tmp/work/armv6-angstrom-linux-gnueabi/gcc-cross-initial-4.1.1-r8/gcc-4.1.1/build.i686-linux.arm-angstr
om-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29780