gcc iussue or ... ?
kabaev at bellatlantic.net
Sun Apr 13 09:46:29 PDT 2003
On Sat, 12 Apr 2003 18:26:36 -0700
"David O'Brien" <obrien at freebsd.org> wrote:
> I'm not sure we should change FreeBSD to do something that purposfully
> produces wrong semantics. From your test it sounds like either GCC
> 3.3 or Binutils 220.127.116.11 changes things for us. I haven't updated
> FreeBSD to 18.104.22.168 as the changes from 2.13.2 don't really change any
> of the FreeBSD architectures. The behavior change is probably due to
> improved g++ utilization of ELF features, or your FreeBSD-related bug
> fixes in 3.3.
I think there is a slight confusion here. It is -fconserve-space flag
what introduces wrong semantics, not the addition of missing definition.
-fconserve-space marks all uninitialized static variables as 'common'
which can obviously lead to unwanted namespace collisions.
More information about the freebsd-hackers