tech-pkg archive

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

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



On Mon, Aug 05, 2019 at 06:29:31PM +0200, Joerg Sonnenberger wrote:
> On Mon, Aug 05, 2019 at 05:39:31PM +0200, tlaronde%polynum.com@localhost wrote:
> > On Mon, Aug 05, 2019 at 03:10:37PM +0200, Martin Husemann wrote:
> > > On Mon, Aug 05, 2019 at 12:35:58PM +0200, tlaronde%polynum.com@localhost wrote:
> > > > Linking directly there is no problem. So the question is to obtain _how_
> > > > the linker is invoked by the pkg building.
> > > 
> > > Check work/.work.log ?
> > 
> > That was the info needed! Thanks! (I added too PKG_LEVEL_DEBUG=2 
> > suggested by Greg Troxel).
> > 
> > The offending option is this:
> > 
> >         -Wl,-retain-symbols-file -Wl,.libs/libp11-kit.exp
> > 
> > ditto: it discards every symbol that is not in this file!
> > 
> > So question: why is there such a thing when debug is asked for? To
> > "just" debug the library without its interactions with the dshared libs
> > it's linked to?
> 
> Can you try adding $a, $t, $t.x and $d to that list and see if that
> fixes the problem?

No. This adds the name of the *.o files, but not some *.c present in 
the full table and none of the symbols (functions) exported but not in
the list.
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index