|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
problem building gcc 4.3.2Hi,
I'm trying to build RHEL/CentOS packages that match the latest winavr release. I've downloaded Eric's patches and incorporated them into the build process. The build dies during libgcc with this error: Configuring in avr/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking build system type... i686-pc-linux-gnu checking host system type... avr-unknown-none checking for avr-ar... /usr/avr/bin/ar checking for avr-lipo... avr-lipo checking for avr-nm... /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/nm checking for avr-ranlib... /usr/avr/bin/ranlib checking for avr-strip... /usr/avr/bin/strip checking whether ln -s works... yes checking for avr-gcc... /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc -B /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib / -isystem /usr/avr/include -isystem /usr/avr/sys-include checking for suffix of object files... configure: error: cannot compute suffix o f object files: cannot compile See `config.log' for more details. When I look at avr/libgcc/config.log, I see that xgcc is being passed i386 options, which can't be correct: configure:2588: /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc -B/home/ga lens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/ -B/usr/avr/lib/ -isyst em /usr/avr/include -isystem /usr/avr/sys-include -c -O2 -g -O2 -g -m32 -march=i 386 -mtune=generic -fasynchronous-unwind-tables conftest.c >&5 cc1: error: unrecognized command line option "-m32" cc1: error: unrecognized command line option "-march=i386" cc1: error: unrecognized command line option "-mtune=generic" conftest.c:1: warning: unwind tables currently require a frame pointer for corre ctness I haven't been able to figure out what I've done wrong. Do Eric's gcc patches require a bootstrap? If so, what is the recommend way of doing this? thanks, galen -- Galen Seitz galens@... _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: problem building gcc 4.3.2Galen Seitz schrieb:
> Hi, > > I'm trying to build RHEL/CentOS packages that match the latest winavr > release. I've downloaded Eric's patches and incorporated them into the > build process. The build dies during libgcc with this error: > > Configuring in avr/libgcc > configure: creating cache ./config.cache > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c > checking for gawk... gawk > checking build system type... i686-pc-linux-gnu > checking host system type... avr-unknown-none > checking for avr-ar... /usr/avr/bin/ar > checking for avr-lipo... avr-lipo > checking for avr-nm... /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/nm > checking for avr-ranlib... /usr/avr/bin/ranlib > checking for avr-strip... /usr/avr/bin/strip > checking whether ln -s works... yes > checking for avr-gcc... > /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc -B > /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/ > -B/usr/avr/lib > / -isystem /usr/avr/include -isystem /usr/avr/sys-include > checking for suffix of object files... configure: error: cannot compute > suffix o > f object files: cannot compile > See `config.log' for more details. > > > When I look at avr/libgcc/config.log, I see that xgcc is being passed > i386 options, which can't be correct: What says "echo $CC"? Setting CC so some value can lead to errors AFAIR. Maybe same happens for CFLAGS, or you did not configure gcc correctly (like obj-path as subdir of source-path). Georg-Johann _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
RE: problem building gcc 4.3.2> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel.com@... > [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu. > org] On Behalf Of Galen Seitz > Sent: Tuesday, September 29, 2009 9:19 PM > To: avr-gcc-list@... > Subject: [avr-gcc-list] problem building gcc 4.3.2 > > Hi, > > I'm trying to build RHEL/CentOS packages that match the latest winavr > release. I've downloaded Eric's patches and incorporated them into > the build process. The build dies during libgcc with this error: > > Configuring in avr/libgcc > configure: creating cache ./config.cache > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c > checking for gawk... gawk > checking build system type... i686-pc-linux-gnu > checking host system type... avr-unknown-none > checking for avr-ar... /usr/avr/bin/ar > checking for avr-lipo... avr-lipo > checking for avr-nm... > /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/nm > checking for avr-ranlib... /usr/avr/bin/ranlib > checking for avr-strip... /usr/avr/bin/strip > checking whether ln -s works... yes > checking for avr-gcc... > /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/xgcc -B > /home/galens/rpm/BUILD/avr-gcc-4.3.2/build/./gcc/ -B/usr/avr/bin/ > -B/usr/avr/lib > / -isystem /usr/avr/include -isystem /usr/avr/sys-include > checking for suffix of object files... configure: error: cannot > compute suffix o > f object files: cannot compile > See `config.log' for more details. > > > When I look at avr/libgcc/config.log, I see that xgcc is being passed > i386 options, which can't be correct: It sounds like avr-binutils is not in the PATH. > I haven't been able to figure out what I've done wrong. Do > Eric's gcc > patches require a bootstrap? If so, what is the recommend way of > doing this? > Please note that this is what I do in my scripts to build binutils: make maybe-configure-bfd 2>&1 | tee $project-make-configure-bfd.log make -C bfd headers 2>&1 | tee $project-make-headers.log make all html install install-html 2>&1 | tee $project-make.log HTH, Eric _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
|
|
Re: problem building gcc 4.3.2Georg-Johann Lay wrote:
> Galen Seitz schrieb: >> Hi, >> >> I'm trying to build RHEL/CentOS packages that match the latest winavr >> release. I've downloaded Eric's patches and incorporated them into >> the build process. The build dies during libgcc with this error: ... >> >> >> When I look at avr/libgcc/config.log, I see that xgcc is being passed >> i386 options, which can't be correct: > > What says "echo $CC"? Setting CC so some value can lead to errors AFAIR. > Maybe same happens for CFLAGS, or you did not configure gcc correctly > (like obj-path as subdir of source-path). Thanks for the response. You correctly guessed the problem. The rpm spec file was setting some compiler environment variables. When I removed those lines, the problem was eliminated. -- Galen Seitz galens@... _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@... http://lists.nongnu.org/mailman/listinfo/avr-gcc-list |
| Free embeddable forum powered by Nabble | Forum Help |