Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209493

Summary: crossdev fails building mips64-unknown-gnu-linux with glibc-2.6.1
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mips
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cross-mips64-unknown-linux-gnu-info.log
cross-mips64-unknown-linux-gnu-glibc.log-2.5-r4.bz2
cross-mips64-unknown-linux-gnu-glibc.log-2.6.1.bz2

Description Ryan Hill (RETIRED) gentoo-dev 2008-02-10 05:30:17 UTC
on both x86 and x86_64 it fails when building glibc with an error message from cc1 about -mabi=n32 being invalid which i don't really get because a) it is, and b) it uses it everywhere else without any trouble.

if i tell crossdev to use glibc-2.5-r4 instead it works.  the target machine has 2.6.1 installed though and i'm thinking mixing glibc versions would be a bad thing.


kali ~ # USE=-gd crossdev -t mips64-unknown-linux-gnu -P -pv
-----------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   mips
 * Target System:         mips64-unknown-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * PORTDIR_OVERLAY:       /home/dirtyepic/overlay
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/mips64-unknown-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/mips64-unknown-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                [ ok ]
 * Log: /var/log/portage/cross-mips64-unknown-linux-gnu-binutils.log
 * Emerging cross-binutils ...

These are the packages that would be merged, in order:

[ebuild  N    ] cross-mips64-unknown-linux-gnu/binutils-2.18-r1  USE="test -multislot -multitarget -nls -vanilla" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /home/dirtyepic/overlay                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-mips64-unknown-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

These are the packages that would be merged, in order:

[ebuild  N    ] cross-mips64-unknown-linux-gnu/gcc-4.1.2  USE="nocxx test (-altivec) -bootstrap -build -d -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -objc -objc++ -objc-gc -vanilla" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /home/dirtyepic/overlay                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-mips64-unknown-linux-gnu-linux-headers.log
 * Emerging cross-linux-headers ...

These are the packages that would be merged, in order:

[ebuild  N    ] cross-mips64-unknown-linux-gnu/linux-headers-2.6.24  0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /home/dirtyepic/overlay                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-mips64-unknown-linux-gnu-glibc.log
 * Emerging cross-glibc ...

These are the packages that would be merged, in order:

[ebuild  N    ] cross-mips64-unknown-linux-gnu/glibc-2.6.1  USE="-debug -gd -glibc-omitfp -hardened (-multilib) -nls -profile (-selinux) -vanilla" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /home/dirtyepic/overlay                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-mips64-unknown-linux-gnu-gcc-stage2.log
 * Emerging cross-gcc-stage2 ...

These are the packages that would be merged, in order:

[ebuild  N    ] cross-mips64-unknown-linux-gnu/gcc-4.1.2  USE="test (-altivec) -bootstrap -build -d -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -vanilla" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /home/dirtyepic/overlay
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-02-10 05:31:37 UTC
Created attachment 143086 [details]
cross-mips64-unknown-linux-gnu-info.log
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-02-10 05:32:23 UTC
Created attachment 143088 [details]
cross-mips64-unknown-linux-gnu-glibc.log-2.5-r4.bz2

working
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-02-10 05:33:06 UTC
Created attachment 143089 [details]
cross-mips64-unknown-linux-gnu-glibc.log-2.6.1.bz2

borked
Comment 4 SpanKY gentoo-dev 2008-02-11 06:42:52 UTC

*** This bug has been marked as a duplicate of bug 185476 ***