Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90291 - crossdev fails building sparc64 glibc target on x86 host
Summary: crossdev fails building sparc64 glibc target on x86 host
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 14:22 UTC by Matt Hargett
Modified: 2005-07-20 04:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log of failure (cross-sparc64-unknown-linux-gnu-glibc.log.bz2,31.20 KB, application/x-bzip2)
2005-04-24 14:25 UTC, Matt Hargett
Details
info log that crossdev said to attach (cross-sparc64-unknown-linux-gnu-info.log,2.71 KB, text/plain)
2005-04-24 14:26 UTC, Matt Hargett
Details
gcc stage2 build failure for mips64. same machine built mips correctly. (cross-mips64-unknown-linux-gnu-gcc-stage2.log.bz2,21.45 KB, application/x-bzip2)
2005-04-24 16:06 UTC, Matt Hargett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Hargett 2005-04-24 14:22:26 UTC
crossdev --target sparc64-unknown-linux-gnu

--------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   sparc
 * Target System:         sparc64-unknown-linux-gnu
 * Stage:                 3 (C/C++ compiler)

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

 * PORTDIR_OVERLAY:       /usr/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/sparc64-unknown-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/sparc64-unknown-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Emerging cross-binutils...                                             [ ok ]
 * Emerging cross-gcc-stage1...                                           [ ok ]
 * Emerging cross-linux-headers...                                        [ ok ]
 * Emerging cross-glibc...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-sparc64-unknown-linux-gnu-info.log
 * /var/log/portage/cross-sparc64-unknown-linux-gnu-glibc.log


Reproducible: Always
Steps to Reproduce:
1.crossdev --target sparc64-unknown-linux-gnu

Actual Results:  
A working cross-compiler was not generated due to a failure when builing a 
sparc64 targeted glibc. 

Expected Results:  
Produced a working cross-compiler. 

I was able to successfully build a working mips cross-compiler with the exact 
same configuration.
Comment 1 Matt Hargett 2005-04-24 14:25:25 UTC
Created attachment 57121 [details]
build log  of failure
Comment 2 Matt Hargett 2005-04-24 14:26:38 UTC
Created attachment 57122 [details]
info log that crossdev said to attach
Comment 3 Matt Hargett 2005-04-24 16:04:21 UTC
mips64 also fails. regular mips is fine.
Comment 4 Matt Hargett 2005-04-24 16:06:04 UTC
Created attachment 57126 [details]
gcc stage2 build failure for mips64. same machine built mips correctly.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-25 04:24:58 UTC
Please attatch logs as text/plain

What version of glibc is it trying to install?  I have the following:

(04:02:20 Mon Apr 25 2005 root@cid x86_64)
/mnt/raid0/gentoo/cvs/gentoo-x86 $ qpkg -I -v sparc64
cross-sparc64-unknown-linux-gnu/linux-headers-2.6.10 *
cross-sparc64-unknown-linux-gnu/gcc-3.4.3.20050110 *
cross-sparc64-unknown-linux-gnu/binutils-2.15.92.0.2-r2 *
cross-sparc64-unknown-linux-gnu/glibc-2.3.4.20050125-r1 *
Comment 6 Philippe Trottier (RETIRED) gentoo-dev 2005-07-19 11:29:35 UTC
As far as I understand there is not support for a 64bit userland on sparc
anyway, so I would put this bug at best as WONTFIX, or INVALID
Comment 7 Philippe Trottier (RETIRED) gentoo-dev 2005-07-19 11:33:50 UTC
to have a full sparc tool chain the right thing to do would be

crossdev -s3 -t sparc
crossdev -s1 -t sparc64
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-20 04:01:30 UTC
actually, you can have a full sparc64 toolchain... I'm closing this as it works
for me (see versions above)