public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS
@ 2014-08-09 20:25 pageexec at gmail dot com
2014-08-09 20:41 ` [Bug build/17248] " schwab@linux-m68k.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pageexec at gmail dot com @ 2014-08-09 20:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17248
Bug ID: 17248
Summary: gcc plugins cannot be passed arguments in CFLAGS
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: pageexec at gmail dot com
CC: carlos at redhat dot com
since glibc's Makeconfig calls $(sort) on CFLAGS, it is not possible to pass
"-fplugin=... -fplugin-arg-..." in there as sort will reverse their order and
gcc doesn't accept that.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/17248] gcc plugins cannot be passed arguments in CFLAGS
2014-08-09 20:25 [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS pageexec at gmail dot com
@ 2014-08-09 20:41 ` schwab@linux-m68k.org
2014-08-09 21:03 ` pageexec at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-08-09 20:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17248
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
That looks like a bug in gcc.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/17248] gcc plugins cannot be passed arguments in CFLAGS
2014-08-09 20:25 [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS pageexec at gmail dot com
2014-08-09 20:41 ` [Bug build/17248] " schwab@linux-m68k.org
@ 2014-08-09 21:03 ` pageexec at gmail dot com
2014-08-19 18:09 ` carlos at redhat dot com
2015-08-02 17:14 ` pageexec at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: pageexec at gmail dot com @ 2014-08-09 21:03 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17248
--- Comment #2 from PaX Team <pageexec at gmail dot com> ---
well, it's arguably a feature since fplugin-arg-... encodes the plugin name
that it applies to (i guess someone didn't want to do lazy plugin argument
processing for some reason). in any case, using sort does more than just
eliminate duplicates and it's a ticking bomb regardless of how -fplugin-* is
handled (just imagine what happens to "-fstack-protector -fno-stack-protector"
that can easily come from a build system and sorting them would undo the user's
intention).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/17248] gcc plugins cannot be passed arguments in CFLAGS
2014-08-09 20:25 [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS pageexec at gmail dot com
2014-08-09 20:41 ` [Bug build/17248] " schwab@linux-m68k.org
2014-08-09 21:03 ` pageexec at gmail dot com
@ 2014-08-19 18:09 ` carlos at redhat dot com
2015-08-02 17:14 ` pageexec at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2014-08-19 18:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17248
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
This is not a gcc bug, this is a glibc problem, we shouldn't be sorting CFLAGS
for internal use. It's not what developers expect.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/17248] gcc plugins cannot be passed arguments in CFLAGS
2014-08-09 20:25 [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS pageexec at gmail dot com
` (2 preceding siblings ...)
2014-08-19 18:09 ` carlos at redhat dot com
@ 2015-08-02 17:14 ` pageexec at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: pageexec at gmail dot com @ 2015-08-02 17:14 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17248
--- Comment #4 from PaX Team <pageexec at gmail dot com> ---
is there any agreement/progress on this issue?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-02 17:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-09 20:25 [Bug build/17248] New: gcc plugins cannot be passed arguments in CFLAGS pageexec at gmail dot com
2014-08-09 20:41 ` [Bug build/17248] " schwab@linux-m68k.org
2014-08-09 21:03 ` pageexec at gmail dot com
2014-08-19 18:09 ` carlos at redhat dot com
2015-08-02 17:14 ` pageexec at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).