Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
arm crossdev fails on gcc-stage2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
univac^
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 231
Location: Suwalki, Polska

PostPosted: Sat Aug 11, 2007 12:48 am    Post subject: arm crossdev fails on gcc-stage2 Reply with quote

crossdev -t arm-softfloat-linux-gnueabi --ex-gdb

* Host Portage ARCH: x86
* Target Portage ARCH: arm
* Target System: arm-softfloat-linux-gnueabi
* Stage: 4 (C/C++ compiler)

* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* Extra: gdb: DO IT

* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/arm-softfloat-linux-gnueabi
* PORTAGE_TMPDIR: /var/tmp/cross/arm-softfloat-linux-gnueabi
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... [ ok ]
* Log: /var/log/portage/cross-arm-softfloat-linux-gnueabi-binutils.log
* Emerging cross-binutils ... [ ok ]
* Log: /var/log/portage/cross-arm-softfloat-linux-gnueabi-gcc-stage1.log
* Emerging cross-gcc-stage1 ... [ ok ]
* Log: /var/log/portage/cross-arm-softfloat-linux-gnueabi-linux-headers.log
* Emerging cross-linux-headers ... [ ok ]
* Log: /var/log/portage/cross-arm-softfloat-linux-gnueabi-glibc.log
* Emerging cross-glibc ... [ ok ]
* Log: /var/log/portage/cross-arm-softfloat-linux-gnueabi-gcc-stage2.log
* Emerging cross-gcc-stage2 ...

* gcc failed :(




Code:
/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/build/./gcc/gfortran -B/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/build/./gcc/ -B/usr/arm-softfloat-linux-gnueabi/bin/ -B/usr/arm-softfloat-linux-gnueabi/lib/ -isystem /usr/arm-softfloat-linux-gnueabi/include -isystem /usr/arm-softfloat-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran -I. -iquote/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/io -I/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc -I/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -I . -Wall -fno-repack-arrays -fno-underscoring -g -O2 -c /var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/generated/_mod_i4.F90 -o _mod_i4.o >/dev/null 2>&1
/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/generated/_mod_i8.F90: In function 'specific__mod_i8':
/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/gcc-4.1.2/libgfortran/generated/_mod_i8.F90:42: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [_mod_i8.lo] B³±d 1
make[3]: *** Oczekiwanie na niezakoñczone zadania....
make[3]: Opuszczenie katalogu `/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/build/arm-softfloat-linux-gnueabi/libgfortran'
make[2]: *** [all] B³±d 2
make[2]: Opuszczenie katalogu `/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/build/arm-softfloat-linux-gnueabi/libgfortran'
make[1]: *** [all-target-libgfortran] B³±d 2
make[1]: Opuszczenie katalogu `/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/work/build'
make: *** [all] B³±d 2
 *
 * ERROR: cross-arm-softfloat-linux-gnueabi/gcc-4.1.2 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1328:   Called toolchain_src_compile
 *   toolchain.eclass, line 26:   Called gcc_src_compile
 *   toolchain.eclass, line 1546:   Called gcc_do_make
 *   toolchain.eclass, line 1420:   Called die
 *
 * emake failed with all
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

 * Messages for package cross-arm-softfloat-linux-gnueabi/gcc-4.1.2:

 *
 * ERROR: cross-arm-softfloat-linux-gnueabi/gcc-4.1.2 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1328:   Called toolchain_src_compile
 *   toolchain.eclass, line 26:   Called gcc_src_compile
 *   toolchain.eclass, line 1546:   Called gcc_do_make
 *   toolchain.eclass, line 1420:   Called die
 *
 * emake failed with all
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/arm-softfloat-linux-gnueabi/portage/cross-arm-softfloat-linux-gnueabi/gcc-4.1.2/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *


Code:
root<~># gcc-config -l
 [1] arm-softfloat-linux-gnueabi-4.1.2 *

 [2] i686-pc-linux-gnu-4.2.0 *

_________________
Gentoo own3d
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sat Aug 11, 2007 4:07 am    Post subject: Reply with quote

It seems to be failing while compiling gfortran - maybe you can set -fortran in the use flags to disable this if you don't need it (I'm guessing you wouldn't be using much fortran code on ARM anyway). I'm not sure how one sets USE flags for cross compilation though.
Back to top
View user's profile Send private message
univac^
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 231
Location: Suwalki, Polska

PostPosted: Sat Aug 11, 2007 9:57 am    Post subject: Reply with quote

i compiled it with -fortran use flag and it's ok, but problem isn't fixed :P
_________________
Gentoo own3d
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum