Page MenuHomeFreeBSD

lang/gcc*: disable MULTILIB on current
AbandonedPublic

Authored by brooks on Feb 16 2024, 12:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 30, 11:54 AM
Unknown Object (File)
Mon, Apr 27, 9:08 AM
Unknown Object (File)
Mon, Apr 27, 5:13 AM
Unknown Object (File)
Sun, Apr 26, 7:39 AM
Unknown Object (File)
Wed, Apr 15, 8:54 PM
Unknown Object (File)
Apr 13 2026, 12:39 PM
Unknown Object (File)
Apr 13 2026, 5:10 AM
Unknown Object (File)
Apr 12 2026, 10:26 PM
Subscribers
None

Details

Reviewers
salvadore
Summary

If libsys is present, don't enable the MULTILIB option. A bug in
GNU ld prevents gcc -m32 from working without explict overlinking.
While we debug that issue, keep gcc* ports building.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 56055
Build 52944: arc lint + arc unit

Event Timeline

brooks created this revision.

Without this, gcc ports will break again when I commit D43910.

I think I understand the issue and may have found a solution so let's not commit this just yet.

In case you need to commit it, I approve it. Thanks.

This revision is now accepted and ready to land.Feb 20 2024, 10:30 AM

I've worked around this by adding rpath to the libraries.