Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878323 - dev-lang/php-8.1.11: ld.lld: error: undefined symbol: _restfpr_31
Summary: dev-lang/php-8.1.11: ld.lld: error: undefined symbol: _restfpr_31
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 00:36 UTC by Luke-Jr
Modified: 2022-11-21 03:03 UTC (History)
2 users (show)

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


Attachments
build log (build.log.zst,45.35 KB, application/zstd)
2022-10-26 00:36 UTC, Luke-Jr
Details
emerge --info (emerge--info.ryuu,9.67 KB, text/plain)
2022-10-26 00:37 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2022-10-26 00:36:39 UTC
Created attachment 825469 [details]
build log

I suspect (but haven't confirmed) related to GCC+lld
Comment 1 Luke-Jr 2022-10-26 00:37:10 UTC
Created attachment 825471 [details]
emerge --info
Comment 2 Luke-Jr 2022-10-26 15:04:05 UTC
Confirmed using default (GNU?) ld works.
Comment 3 Michael Orlitzky gentoo-dev 2022-11-21 03:03:19 UTC
I'm trying to reproduce this on amd64 and can't, even with the same gcc, CFLAGS, LDFLAGS, etc. From that, but moreso based on the name "_restfpr_31", I think this might be specific to PPC.

You might be able to hide the issue by using -O2 and dropping the gnu-specific flags? But otherwise if you really want to get to the bottom of this you'll probably have to do some real debugging inside the source tree to see what's going wrong with ld.lld as opposed to ld.bfd (the default).