Page MenuHomeFreeBSD

Use /lib:/usr/lib as default libs in mips64.
ClosedPublic

Authored by kan on May 14 2018, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 3:23 PM
Unknown Object (File)
Thu, Oct 9, 3:22 PM
Unknown Object (File)
Mon, Oct 6, 2:07 PM
Unknown Object (File)
Thu, Oct 2, 10:52 PM
Unknown Object (File)
Wed, Oct 1, 2:23 PM
Unknown Object (File)
Tue, Sep 30, 5:01 AM
Unknown Object (File)
Thu, Sep 25, 7:56 PM
Unknown Object (File)
Sat, Sep 20, 3:44 PM
Subscribers
None

Details

Reviewers
jhb
bapt
kan
Summary

gcc/config/mips/mips.h sets it to /lib64:/usr/lib64,
override that.

Test Plan

Build base/gcc with installed mips64-xtoolchain-gcc
fails unless this patch is applied: gcc cannot find crt1.o
and friends.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 16584
Build 16496: arc lint + arc unit

Event Timeline

devel/powerpc64-gcc/files/patch-gcc-freebsd-mips
414

mips/config.h also overrides n32 to /lib32:/usr/lib32, I do not know what needs to be done for that

Seems harmless but I have no interest in MIPS.

I haven't gotten this far yet, but this seems to be working around multilib. I wonder if it's possible to make 'gcc -mabi=32' when built for mips64 to look in /usr/lib32.

Presumably you would be able to see this in the -print-search-dirs for mips64-gcc. I've been using mips-gcc to build mips64 which is why I haevn't seen this.

This revision is now accepted and ready to land.May 15 2018, 3:11 PM