https://sourceware.org/bugzilla/show_bug.cgi?id=33162

--- Comment #7 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from Nick Alcock <nick.alcock at oracle dot com> ---
> ... OK, so I need to detect (and probably need to detect for ld tests as well)
> when gcc is built to use a non-GNU ld, and skip all tests that require CTF
> dedup in this case. (Again, this probably includes a bunch of ld tests). Time
> to figure out how on earth to do that...

It's not only that, I believe: imagine gcc built with
--with-ld=/path/to/ld.  In that case, you will be testing /path/to/ld,
not the freshly built one.

For binutils, it's imperative that gcc can be forced (using an
appropriate -B option) to use ld-new.  That's why ld/tmpdir has
appropriate symlinks:

> ls -l ld/tmpdir/ld
total 2
lrwxrwxrwx 1 ro gcc 19 Jul 16 16:05 as -> ../../../gas/as-new*
lrwxrwxrwx 1 ro gcc  2 Jul 16 16:05 collect-ld -> ld*
lrwxrwxrwx 1 ro gcc 12 Jul 16 16:05 ld -> ../../ld-new*

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to