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

Bug 588554

Summary: cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15 - headers fails with mips-unknown_softfloat-linux-uclibc-gcc: Command not found
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED WONTFIX    
Severity: normal CC: alonbl, O01eg
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cross-mips-unknown_softfloat-linux-uclibc-info.log
cross-mips-unknown_softfloat-linux-uclibc-uclibc-headers.log.xz
uclibc.ebuild-001-headers.patch
uclibc.ebuild-001-mips.patch

Description Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-10 20:44:38 UTC
When trying to build headers, it tries to detect if binutils supports --hash-style option, while trying to ld using gcc.

make -j2 headers
make: mips-unknown_softfloat-linux-uclibc-gcc: Command not found
Rules.mak:665: *** Your binutils do not support --hash-style option, while you want to use it.  Stop.
emake failed
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-10 20:45:11 UTC
Created attachment 440310 [details]
cross-mips-unknown_softfloat-linux-uclibc-info.log
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-10 20:45:36 UTC
Created attachment 440312 [details]
cross-mips-unknown_softfloat-linux-uclibc-uclibc-headers.log.xz
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-12 06:56:01 UTC
Created attachment 440414 [details, diff]
uclibc.ebuild-001-headers.patch
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-12 06:56:53 UTC
Once progressed I get:

  CC libc/sysdeps/linux/mips/__longjmp.os
/var/tmp/portage/cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15/temp/cc1RBCuf.s: Assembler messages:
/var/tmp/portage/cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15/temp/cc1RBCuf.s:22: Error: opcode not supported on this processor: mips1 (mips1) `l.d $f20,56($4)'
/var/tmp/portage/cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15/temp/cc1RBCuf.s:25: Error: opcode not supported on this processor: mips1 (mips1) `l.d $f22,64($4)'
...
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2016-07-12 08:13:24 UTC
Created attachment 440418 [details, diff]
uclibc.ebuild-001-mips.patch

More fixes.
1. Do not try to execute gcc while building headers.
2. Do not enable LDSO_GNU_HASH_SUPPORT in mips as "ld: .gnu.hash is incompatible with the MIPS ABI"
3. Set UCLIBC_HAS_FPU to n if tc-is-softfloat.
Comment 6 Oleg 2018-01-08 12:04:51 UTC
I got same error mipsel-hardfloat-linux-uclibc and latest patch fixed it.
Comment 7 David Seifert gentoo-dev 2022-01-02 10:28:24 UTC
uclibc support in Gentoo has been removed.