Re: ldconfig miscompile on i386
Ben Collins <email@example.com> writes:
> > > > We were setting both CFLAGS and BUILD_CFLAGS in a configparms
> > > > file.
> > > > CFLAGS = -pipe -O2 -fstrict-aliasing
> > > > BUILD_CFLAGS = -O2
> > > What gets set for CFLAGS if we do not set it manually?
> > CFLAGS is left blank in config.make, so I think Makeconfig picks up
> > the default_cflags rules (-g -O2). I can't really check from work,
> > though.
> I don't see how this would affect it then.
Doesn't pickup default CFLAGS for me:
See that -march=i386 is there as we are passing it via CFLAGS.
ps. note that I'm using almost vanilla glibc while Debian
maybe contains some Make*-chaning patches
Arkadiusz Miśkiewicz CS at FoE, Wroclaw University of Technology
firstname.lastname@example.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux