This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Detect libstdc++ include paths for native gcc on 32-bit non-Debian Linux
ClosedPublic

Authored by MaskRay on Jul 15 2021, 6:59 PM.

Details

Diff Detail

Event Timeline

MaskRay requested review of this revision.Jul 15 2021, 6:59 PM
MaskRay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2021, 6:59 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay edited the summary of this revision. (Show Details)Jul 15 2021, 6:59 PM
MaskRay edited the summary of this revision. (Show Details)Jul 15 2021, 7:01 PM

Thanks for looking into this. On OpenSUSE i686, the failing tests are now fixed, but Driver/linux-cross.cpp fails with:

https://pastebin.com/uHfi3KD1

Would you like any more debugging info?

gcc --print-multiarch

is also empty.

Thanks for looking into this. On OpenSUSE i686, the failing tests are now fixed, but Driver/linux-cross.cpp fails with:

https://pastebin.com/uHfi3KD1

"This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff."

Would you like any more debugging info?

gcc --print-multiarch

is also empty.

This one should work.
https://controlc.com/505d58d3

Please let me know if there's anything else that could help.

MaskRay updated this revision to Diff 359496.Jul 16 2021, 5:15 PM

Add two .keep files to keep two directories

This one should work.
https://controlc.com/505d58d3

Please let me know if there's anything else that could help.

Thanks. I forgot to add two .keep files to retain two otherwise empty directories. Should be good now.

Still seeing the same failure on OpenSUSE. I'm still on gcc 10.3. Should I need to upgrade for this to work?

Updated OpenSUSE which bumped gcc from 10 to 11. Still failing with the latest patch.

https://controlc.com/c4a19d64

If you can accept this, I'll submit it.

LGTM. No more test failures or build errors. And the libreoffice .configure error has been resolved now too. Thanks!

MaskRay accepted this revision.Jul 20 2021, 9:11 AM
This revision is now accepted and ready to land.Jul 20 2021, 9:11 AM
This revision was landed with ongoing or failed builds.Jul 20 2021, 9:18 AM
This revision was automatically updated to reflect the committed changes.