Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97414 - crossdev fails building amd64 gcc-stage2 target on x86 host
Summary: crossdev fails building amd64 gcc-stage2 target on x86 host
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 12:26 UTC by Kirill A. Korinsky
Modified: 2005-10-12 22:36 UTC (History)
0 users

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


Attachments
cross-x86_64-pc-linux-gnu-gcc-stage2.log (cross-x86_64-pc-linux-gnu-gcc-stage2.log,574.45 KB, text/plain)
2005-06-29 12:31 UTC, Kirill A. Korinsky
Details
cross-x86_64-pc-linux-gnu-info.log (cross-x86_64-pc-linux-gnu-info.log,3.12 KB, text/plain)
2005-06-29 12:32 UTC, Kirill A. Korinsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill A. Korinsky 2005-06-29 12:26:03 UTC
crossdev -t x86_64-pc-linux-gnu
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   amd64
 * Target System:         x86_64-pc-linux-gnu
 * Stage:                 3 (C/C++ compiler)

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

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

 * gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-x86_64-pc-linux-gnu-info.log
 * /var/log/portage/cross-x86_64-pc-linux-gnu-gcc-stage2.log


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kirill A. Korinsky 2005-06-29 12:31:34 UTC
Created attachment 62256 [details]
cross-x86_64-pc-linux-gnu-gcc-stage2.log
Comment 2 Kirill A. Korinsky 2005-06-29 12:32:58 UTC
Created attachment 62257 [details]
cross-x86_64-pc-linux-gnu-info.log
Comment 3 SpanKY gentoo-dev 2005-06-29 20:49:10 UTC
looks like multilib crap
Comment 4 Kirill A. Korinsky 2005-06-30 07:03:24 UTC
(In reply to comment #3)
> looks like multilib crap

Ok, as you suggest to pass with i686 on x86_64, except for cross-compiling?..
Comment 5 Tiago Freire 2005-07-20 10:45:33 UTC
I have the same error. Athlon XP -> Athlon 64
My athlon 64 multilib is crapped, and I cannot re-emerge glibc. Trying to build
a glibc in my XP to fix the 64 bit machine, to no avail. 
Comment 6 Harald Schioeberg 2005-09-09 09:23:24 UTC
Got the same problem. 

Possible solution (not jet tested) : 
gcc always configures with --enable-multilib, no matter the USE flag (-multilib)
The linker problem definately looks like a multilib problem.
glibc is not prepared for multilib, does not support it at all.

=> remove --enable-multilib from configure options
Comment 7 Harald Schioeberg 2005-09-09 10:09:45 UTC
(In reply to comment #6)
> Got the same problem. 
> 
> Possible solution (not jet tested) : 
> gcc always configures with --enable-multilib, no matter the USE flag (-multilib)
> The linker problem definately looks like a multilib problem.
> glibc is not prepared for multilib, does not support it at all.
> 
> => remove --enable-multilib from configure options
Tested it with a manual build, WORKS. Pls fix in the ebuild, or wherever this
option comes from.
Comment 8 SpanKY gentoo-dev 2005-10-12 22:36:02 UTC
latest sync should handle multilib properly