help-libidn
[Top][All Lists]
Advanced

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

Re: Compilation of libidn2 0.10 on Solaris


From: Simon Josefsson
Subject: Re: Compilation of libidn2 0.10 on Solaris
Date: Thu, 3 Nov 2016 11:29:32 +0100

Den Wed, 2 Nov 2016 10:52:48 +0100
skrev Re: Compilation of libidn2 0.10 on Solaris:

> Hi Simon,
> 
> Am 02.11.2016 um 10:16 schrieb Dagobert Michelsen <address@hidden>:
> > I get a compilation error on Solaris 10 Sparc with GCC 5.2.0:
> > 
> >> gmake[3]: Entering directory
> >> '/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/tests'
> >>  /opt/csw/bin/gcc-5.2
> >> -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -I/opt/csw/include  -O2 -pipe
> >> -fno-omit-frame-pointer -mcpu=v9 -Wa,-xarch=v8plus -MT
> >> test-punycode.o -MD -MP -MF .deps/test-punycode.Tpo -c -o
> >> test-punycode.o test-punycode.c mv
> >> -f .deps/test-punycode.Tpo .deps/test-punycode.Po /bin/bash ../libtool
> >> --tag=CC   --mode=link /opt/csw/bin/gcc-5.2  -O2 -pipe
> >> -fno-omit-frame-pointer -mcpu=v9 -Wa,-xarch=v8plus -no-install
> >> -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/lib -o test-punycode
> >> test-punycode.o ../libidn2.la libtool: link: /opt/csw/bin/gcc-5.2
> >> -O2 -pipe -fno-omit-frame-pointer -mcpu=v9 -Wa,-xarch=v8plus
> >> -mcpu=v9 -Wa,-xarch=v8plus -o test-punycode test-punycode.o
> >> -L/opt/csw/lib ../.libs/libidn2.so -liconv
> >> -R/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs
> >> -R/opt/csw/lib Undefined                       first referenced
> >> symbol                             in file
> >> _idn2_punycode_decode               test-punycode.o
> >> _idn2_punycode_encode               test-punycode.o ld: fatal:
> >> symbol referencing errors. No output written to test-punycode
> > 
> > Do you have an idea?

Thanks, I fixed this now.  It only happens on platforms without support
for LD version scripts, and the code in Makefile.am only matched
^idn2_* symbols.  I added a filter to allow through these two symbols
too.

> Additionally I noticed that the runpath of the build environment
> leaks into the „lookup“ and „register“ binaries:

I don't know how to fix this, ideas or patches are welcome.

/Simon

Attachment: pgp_INISXnrWF.pgp
Description: OpenPGP digital signatur


reply via email to

[Prev in Thread] Current Thread [Next in Thread]