Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588554 - cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15 - headers fails with mips-unknown_softfloat-linux-uclibc-gcc: Command not found
Summary: cross-mips-unknown_softfloat-linux-uclibc/uclibc-0.9.33.2-r15 - headers fails...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 20:44 UTC by Alon Bar-Lev (RETIRED)
Modified: 2022-01-02 10:28 UTC (History)
2 users (show)

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


Attachments
cross-mips-unknown_softfloat-linux-uclibc-info.log (cross-mips-unknown_softfloat-linux-uclibc-info.log,18.54 KB, text/plain)
2016-07-10 20:45 UTC, Alon Bar-Lev (RETIRED)
Details
cross-mips-unknown_softfloat-linux-uclibc-uclibc-headers.log.xz (cross-mips-unknown_softfloat-linux-uclibc-uclibc-headers.log.xz,1.78 KB, application/x-xz-compressed-tar)
2016-07-10 20:45 UTC, Alon Bar-Lev (RETIRED)
Details
uclibc.ebuild-001-headers.patch (file_588554.txt,50 bytes, patch)
2016-07-12 06:56 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
uclibc.ebuild-001-mips.patch (uclibc.ebuild-001-mips.patch,963 bytes, patch)
2016-07-12 08:13 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.