This is the mail archive of the
mailing list for the binutils project.
Re: gold linker 2.22 regressed for DragonFly [revised testsuite results]
John Marino <firstname.lastname@example.org> writes:
> 1. incremental_test: suspect this is not really an error (failed v2.21 too)
It does pass on GNU/Linux, but it's not an interesting test case at this
> 2. ver_matching_test.sh: __bss_start not local, rtld issue? real issue? (failed on v2.21 too)
Hard to understand why this would fail. The __bss_start symbol is
defined automatically by the linker itself.
> 3. exception_static_test: likely real problem. gdb log attached
My first guess would be that DragonFly does not support dl_iterate_phdr,
or that it does not work correctly for statically linked executables.
That's just a guess, though.
> 4. intpri2: likely real problem. gdb log attached
This is almost certainly the same issue as the --no-ctors-in-init-array
issue: DragonFly does not suppor DT_INIT_ARRAY.
> 5. relro_test: no relro support in rtld, ignore
> 6. relro_now_test: no relro support in rtld, ignore
> 7. relro_strip_test: no relro support in rtld, ignore
Yeah, if the dynamic linker does not handle relro, then these tests are
expected to fail.