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: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads.


> > I think this should be an debian/Ubuntu local only patch as the
> > default for FSF GCC/binutils is not to pass --as-needed.
> 
> I admit the change is a little, erm, weird, but my hope was to avoid
> causing pain to people who build gdb on Ubuntu. This isn't just Ubunto
> or Debian developers but Ubuntu or Debian users that happen to have
> downloaded a gdb tarball from gnu.org. Similar test failures in
> binutils have been worked around by adding -Wl,--no-as-needed which we
> could also do here, but I was concerned that this may break non-gcc
> compilers.

I tend to agree that it can be potentially useful, and since it does
not appear to be very disruptive, I find it acceptable in principle.
I just haven't had time to look into it in more details...

-- 
Joel


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