This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Building GDB under GLIBC 2.8


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> Looks OK to me. I'm a little bit pained by seeing us forced to check
Joel> return values in cases where we really don't care, but if this is
Joel> the way things are going to be in glibc from now on. Were the glibc
Joel> developers contacted and do we know what they said? I'm wondering
Joel> if these new attributes are a done-deal or whether there are
Joel> re-considering...

You must ask for this checking.  It is only enabled if you use
-D_FORTIFY_SOURCE=2.  glibc is working as intended here, as this
checking is part of the point of this feature.

The problem is that some distros enable this by default.  And, other
distros build their packages this way as a security measure.  So, it
is handy if gdb is modified to conform.  The alternative is the
distros carrying their own patches for this, plus developers on Ubuntu
having to do something special.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]