| Summary: | sys-devel/gcc-3.4.6-r2 native build crossdev | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Daniel Glaser <daniel.glaser> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Daniel Glaser
2006-09-29 14:33:20 UTC
Reopen with some errors, a lot more useful that describing it... :) Here is my make.conf
#If this line is used, getting errors
CFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
#If this, compiles cleanly
#CFLAGS="-Os -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="powerpc-softfloat-linux-uclibc"
CBUILD="i686-pc-linux-gnu"
CTARGET="powerpc-softfloat-linux-uclibc"
USE="-gpm -pcre -crypt -ldap -nls -X -ipv6"
ACCEPT_KEYWORDS="-* ppc"
ERRORS:
...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make: *** [configure-build-libiberty] Error 1
!!! ERROR: sys-devel/gcc-3.4.6-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1534: Called gcc_do_make
toolchain.eclass, line 1408: Called die
I think, it is because of different stages that are compiled. First some things for the BUILD, then for the HOST. For the BUILD-stage, there must be some flags filtered out. For now, I'm happy without -mtune and -mcpu, because of the possibility to recompile gcc on the target with flags.
emerge --info
Portage 2.1.1 (!../usr/local/profiles/uclibc/ppc-softfloat/2.6, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
CHOST="powerpc-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/Projekte/ppc-embedded/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CTARGET="powerpc-softfloat-linux-uclibc"
CXXFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/mirrors/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc bitmap-fonts cli dlloader dri elibc_uclibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux ncurses readline reflection session spl truetype-fonts type1-fonts uclibc userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l xorg zlib"
Unset: EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Could you attach the config.log it references in the error (if you are still even having this problem)? (In reply to comment #3) Sorry, takes to mauch time to set this up again for the moment... Perhaps I can do it in 1 or 2 weeks... |