-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ebuilds with sed fail when using GCC 9.1 enhanced -falign syntax #292
Comments
I was also trying out the new -falign-functions syntax, which should be equivalent to 24 (32 if it adjusts by less than 25 bytes) with a fallback to 16 : -falign-functions=32:25:16 |
|
also a bunch of dev-qt packages |
looks like -falign-functions=32:25 sucessfully compiles a broken sed, but -falign-functions=24 doesn't. not sure how to make a gcc bug for this |
ooooooooooh. its not a gcc bug. its having colons in the FLAGS that breaks the sed expressions 🤣 |
app-arch/p7zip-16.02-r4::pg_overlay was built with the following: |
sys-apps/iproute2-5.0.0::poly-c was built with the following: |
sys-apps/sed-4.7::gentoo was built with the following: |
no problems here . |
@wolfwood is it possible to escape the colon in such a way that GCC will ignore, but would pass through sed without issue? It does seem to me an ebuild bug though, to pass |
yes, the gentoo devs have made a tracking bug and i think the plan is to fix individual ebuilds to escape uses of *FLAGS. in the short term, escaping the colons with backslashes worked for p7zip and the qt libs, but iproute2 failed with a strange symbol redefinition error. |
I'm glad you're trying out |
yeah, it was that thread that made me want to try the new syntax with gcc 9.1 |
during my gcc 9.1 world rebuild, sys-apps/iproute and app-arch/p7zip have both failed with sed -e expression unknown option to `s' during prepare source phase.
The text was updated successfully, but these errors were encountered: