-
Notifications
You must be signed in to change notification settings - Fork 51
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
Makefile.PL Invokes $Config{cpp}
instead of $Config{cpprun}
#139
Comments
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
Jul 7, 2020
- EAPI7 - Add subslot deps for zlib - Ensure CFLAGS passed to make/compiler - Fix problem introduced by -Dcpp=$(tc-getCPP) in dev-lang/perl where Devel-NYTProf incorrectly uses $Config{cpp} instead of $Config{cpprun}, which results in trying to invoke $GCC to pre-process headers for grep-based feature detection, where it *SHOULD* be invoking "$GCC -E", which in turn, leads to trying to compile system headers and in turn, writing precompiled headers to /usr/include, tripping a sandbox violation. Bug: https://bugs.gentoo.org/724506 Bug: timbunce/devel-nytprof#139 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric <[email protected]>
jkeenan
added a commit
to jkeenan/devel-nytprof
that referenced
this issue
Apr 13, 2021
For: timbunce#139 Thanks to the late Kent Fredric.
jkeenan
added a commit
to jkeenan/devel-nytprof
that referenced
this issue
Apr 13, 2021
Addressed via 07778bf. Closing ticket. Thank you very much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See Perl/perl5#17948
We've locally got perl configured with
-Dcpp=$GCC -E
, which is a perfectly valid C PreProcessor.However,
cpp
only contains the "path" aspect of that, and strips the arguments.https://github.com/Perl/perl5/blob/48a788454f1719093d08e80bbb70723ae345163a/Porting/Glossary#L315-L350
The text was updated successfully, but these errors were encountered: