problem when compiling sdl

Eric Sandall eric at sandall.us
Sat Oct 1 04:46:10 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 30 Sep 2005, Auke Kok wrote:
> Eric Sandall wrote:
>
>> Wouldn't it also work (perhaps better) to just remove the offending
>> flags?
>>
>> e.g.
>> export CFLAGS=${CFLAGS/-fforce-addr/}
>>
>> (and do that for CXXFLAGS if needed as well)? This way the user still
>> gets most of the optimizations they want, except for ones that break
>> it.
>
> yes, but,
>
> the official lecture in lunar still is: -fforce-addr is considered an
> _unsafe_ optimization. If you use it, you may not complain about it on
> the mailinglist. If stuff breaks, that's your own fault.

I agree on that point. ;) I thought the talk earlier was also for
general fixes for compilation issues (not just 'unsafe' options), so I
felt I'd pipe in.

> this whole discussion therefore is useless - just use safe
> optimizations. (if it still breaks then, file a bugreport immediately).

As always, safe by default, but won't protect you from your own,
uhh...choices, yeah. ;)

- -sandalle

- --
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDPhSUHXt9dKjv3WERAsy+AJ4x6f34LRuVSvGLmmZJFxJ+0JVl+QCgv1HI
lizV7BYrhVAvIERqUNSrat8=
=uZ8S
-----END PGP SIGNATURE-----


More information about the Lunar mailing list