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

Bug 208503

Summary: using crossdev m68k-unknown-linux-gnu doesn't work for gcc but does for binutils
Product: Gentoo Linux Reporter: Alan Hourihane <alanh>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED LATER    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: m68k   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan Hourihane 2008-02-01 21:10:38 UTC
Seems as though the m68k keyword needs adding to a sys-devel/gcc ebuild. Preferably gcc-4.2.2.



Reproducible: Always

Actual Results:  
!!! All ebuilds that could satisfy "cross-m68k-unknown-linux-gnu/gcc" have been 
masked.
!!! One of the following masked packages is required to complete your request:
- cross-m68k-unknown-linux-gnu/gcc-2.95.3-r9 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-2.95.3-r10 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-3.1.1-r2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-3.2.2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-3.2.3-r4 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-3.3.6-r1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-3.4.6-r2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.0.3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.0.4 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.1.0-r1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.1.1-r3 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.1.2 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.2.0 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.2.1 (masked by: missing keyword)
- cross-m68k-unknown-linux-gnu/gcc-4.2.2 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
Comment 1 Alan Hourihane 2008-02-04 09:34:10 UTC
I've added m68k to 4.2.2 myself, but then glibc compilation fails because of kernel header checks that are wrong for 2.6 kernel headers.....

checking installed Linux kernel header files... TOO OLD!^M 
configure: error: GNU libc requires kernel header files from^M 
Linux 2.0.10 or later to be installed before configuring.^M 
The kernel header files are found usually in /usr/include/asm and^M 
/usr/include/linux; make sure these directories use files from^M 
Linux 2.0.10 or later.  This check uses <linux/version.h>, so^M 
make sure that file was built correctly when installing the kernel header^M 
files.  To use kernel headers not from /usr/include/linux, use the^M 
configure option --with-headers.^M 
 * ^M 
 * ERROR: cross-m68k-unknown-linux-gnu/glibc-2.3.5-r3 failed.^M 
 * Call stack:^M 
 *               ebuild.sh, line 1701:  Called dyn_compile^M 
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'^M 
 *               ebuild.sh, line   44:  Called src_compile^M 
 *   glibc-2.3.5-r3.ebuild, line 1151:  Called src_compile^M 
 *   glibc-2.3.5-r3.ebuild, line 1159:  Called toolchain-glibc_src_compile^M 
 *   glibc-2.3.5-r3.ebuild, line  224:  Called glibc_do_configure 'linuxthreads'^M 
 *   glibc-2.3.5-r3.ebuild, line  908:  Called die^M 
Comment 2 SpanKY gentoo-dev 2008-03-24 11:51:58 UTC
actually get a working toolchain combo and we can talk about KEYWORDS
Comment 3 Alan Hourihane 2008-03-24 14:36:24 UTC
I have.