On 2014/10/27 12:31, David Coppa wrote:
> On Mon, Oct 27, 2014 at 11:10 AM, Stuart Henderson <st...@openbsd.org> wrote:
> > anyone have an idea about this?
> >
> > libtool: link: cc -o .libs/kinit -pthread -Wall -Wmissing-prototypes 
> > -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs 
> > -DINET6 -O2 -pipe kinit.o 
> > /usr/obj/ports/heimdal-1.5.3/heimdal-1.5.3/lib/vers/.libs/libvers.a -L.libs 
> > -lkafs -lkrb5 -lasn1 -lcom_err -lroken -lwind -lheimbase -lhx509 -lcrypto 
> > -lheimsqlite -lheimntlm -Wl,-rpath,/usr/local/heimdal/lib
> > /usr/bin/ld: .libs/libkafs.so.21.0: invalid string offset 24565 >= 1506 for 
> > section `.dynstr'
> > /usr/bin/ld: .libs/libkafs.so.21.0: invalid string offset 3755991007 >= 
> > 1506 for section `.dynstr'
> > .libs/libkafs.so.21.0(.rel.plt+0xdfdfcbfb): multiple definition of `no 
> > symbol'
> > .libs/libkafs.so.21.0(.gnu.version_r+0xffffed36): first defined here
> > .libs/libcom_err.so.21.0: warning: strcpy() is almost always misused, 
> > please use strlcpy()
> > .libs/libcom_err.so.21.0: warning: strcat() is almost always misused, 
> > please use strlcat()
> > collect2: ld returned 1 exit status
> >
> > full log attached.
> 
> Can this be related to symbol versioning?
> 
> http://marc.info/?l=openbsd-misc&m=125552372620228
> 
> Ciao,
> David

Maybe...

It built OK with a rebuild.

And actually, diffing the logs, the "invalid string offset" happens
both times anyway, it isn't the trigger for the failure.

The actual problem is:

> > .libs/libkafs.so.21.0(.rel.plt+0xdfdfcbfb): multiple definition of `no 
> > symbol'

dfdf - feels like a use after free.

Reply via email to