* [gentoo-dev] update `strip-flags` to allow flags that disable stuff
@ 2004-07-18 2:11 Mike Frysinger
2004-07-18 3:05 ` Ciaran McCreesh
2004-07-18 3:28 ` Brandon Hale
0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-07-18 2:11 UTC (permalink / raw
To: gentoo-dev
i was trying to debug xorg-x11 and the CFLAGS that were causing it to segfault
on my box when i found the following CFLAGS got mangled because of
`strip-flags`:
CFLAGS="-O2 -march=pentium4 -mno-mmx -mno-sse -mno-sse2 -pipe"
suddenly xorg-x11 was built with:
CFLAGS="-O2 -march=pentium4 -pipe"
now, considering `strip-flags` is intended to 'sanitize' CFLAGS of all the
crazy crap people stick in it for the purpose of not *over* optimizing, it
seems like when people want to *disable* a few optimizations, they should :)
so my proposal is that `strip-flags` will allow any flag that begins with
'-mno-' or '-fno-' ... any objections ?
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] update `strip-flags` to allow flags that disable stuff
2004-07-18 2:11 [gentoo-dev] update `strip-flags` to allow flags that disable stuff Mike Frysinger
@ 2004-07-18 3:05 ` Ciaran McCreesh
2004-07-18 3:18 ` Mike Frysinger
2004-07-18 3:28 ` Brandon Hale
1 sibling, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2004-07-18 3:05 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
On Sat, 17 Jul 2004 22:11:30 -0400 Mike Frysinger <vapier@gentoo.org>
wrote:
| so my proposal is that `strip-flags` will allow any flag that begins
| with '-mno-' or '-fno-' ... any objections ?
Bad idea. Filtering -mno-app-regs if it's in use globally will kill
things. Possibly the same for -mno-stack-bias.
--
Ciaran McCreesh : Gentoo Developer (Sparc, MIPS, Vim, Fluxbox)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] update `strip-flags` to allow flags that disable stuff
2004-07-18 3:05 ` Ciaran McCreesh
@ 2004-07-18 3:18 ` Mike Frysinger
2004-07-18 3:50 ` Ciaran McCreesh
0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2004-07-18 3:18 UTC (permalink / raw
To: gentoo-dev
On Saturday 17 July 2004 11:05 pm, Ciaran McCreesh wrote:
> On Sat, 17 Jul 2004 22:11:30 -0400 Mike Frysinger <vapier@gentoo.org>
>
> wrote:
> | so my proposal is that `strip-flags` will allow any flag that begins
> | with '-mno-' or '-fno-' ... any objections ?
>
> Bad idea. Filtering -mno-app-regs if it's in use globally will kill
> things. Possibly the same for -mno-stack-bias.
i think you mis-read what i'm doing ... or maybe i mis-read you ...
you're saying that if a user builds their system with CFLAGS="-mno-app-regs"
and then tries to build a package that filters out that flag, the new package
will break ?
if so, that's what is happening right now ... my proposal was to *change* that
so that users can use -fno-* and -mno-* flags and *not* have them be filtered
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] update `strip-flags` to allow flags that disable stuff
2004-07-18 2:11 [gentoo-dev] update `strip-flags` to allow flags that disable stuff Mike Frysinger
2004-07-18 3:05 ` Ciaran McCreesh
@ 2004-07-18 3:28 ` Brandon Hale
1 sibling, 0 replies; 5+ messages in thread
From: Brandon Hale @ 2004-07-18 3:28 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
On Sat, 2004-07-17 at 22:11 -0400, Mike Frysinger wrote:
> so my proposal is that `strip-flags` will allow any flag that begins with
> '-mno-' or '-fno-' ... any objections ?
> -mike
Sounds great, I just hit this problem trying to temporarily add -fno-
stack-protector, which
got stripped.
Brandon Hale
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-18 3:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-18 2:11 [gentoo-dev] update `strip-flags` to allow flags that disable stuff Mike Frysinger
2004-07-18 3:05 ` Ciaran McCreesh
2004-07-18 3:18 ` Mike Frysinger
2004-07-18 3:50 ` Ciaran McCreesh
2004-07-18 3:28 ` Brandon Hale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox