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)
Apr 9 2024, 1:42 AM
Unknown Object (File)
Dec 5 2023, 7:47 PM
Unknown Object (File)
Nov 20 2023, 8:51 PM
Unknown Object (File)
Oct 11 2023, 6:01 PM
Unknown Object (File)
May 24 2023, 3:01 PM
Unknown Object (File)
May 3 2023, 5:09 PM
Unknown Object (File)
Apr 14 2023, 4:10 PM
Unknown Object (File)
Mar 20 2023, 4:28 AM
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