tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: String offset errors on evbarm 8.99 [PR 54159]

On Sun, Aug 04, 2019 at 04:15:17PM +0200, Joerg Sonnenberger wrote:
> On Sun, Aug 04, 2019 at 11:45:26AM +0200, wrote:
> > So it seems that the problem is created by the invocation of libtool.
> This is a bug in GNU ld, it has nothing to do with libtool. I regulary
> see it with clang in the base system too.

But if I link the objects directly by an invocation of the compiler
front-end, there is no such problem (and it is still GNU ld).

And if I compare the two versions with readelf, I found crti.o mentionned
at the beginning of the .strtab in the library built without warning, 
and not in the library with a mutilated .strtab (the mention of crti.o
is the very first string).

There was a correction in FreeBSD, related also to these messages about
.strtab, because crti.o was doubly included. It seems to me suspicious
that the same combination of .strtab warnings (and mutilated section)
and crti.o appears here...
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

Home | Main Index | Thread Index | Old Index