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: Dagobert Michelsen
Subject: Re: Compilation of libidn2 0.10 on Solaris
Date: Wed, 2 Nov 2016 10:52:48 +0100

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?

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

> work/solaris10-sparc/pkgroot/opt/csw/bin/lookup:
> 
>   **** DYNAMIC SECTION INFORMATION ****
> .dynamic:
> [INDEX] Tag         Value
> [1]     POSFLAG_1       LAZYLOAD
> [2]     NEEDED          libidn2.so.0
> [3]     NEEDED          libc.so.1
> [4]     INIT            0x10dd8
> [5]     FINI            0x10df4
> [6]     RUNPATH         
> /opt/csw/lib/$ISALIST:/opt/csw/lib:/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib
> [7]     RPATH           
> /opt/csw/lib/$ISALIST:/opt/csw/lib:/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib
>
> 
> work/solaris10-sparc/pkgroot/opt/csw/bin/register:
> 
>   **** DYNAMIC SECTION INFORMATION ****
> .dynamic:
> [INDEX] Tag         Value
> [1]     POSFLAG_1       LAZYLOAD
> [2]     NEEDED          libidn2.so.0
> [3]     NEEDED          libc.so.1
> [4]     INIT            0x10ddc
> [5]     FINI            0x10df8
> [6]     RUNPATH         
> /opt/csw/lib/$ISALIST:/opt/csw/lib:/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib
> [7]     RPATH           
> /opt/csw/lib/$ISALIST:/opt/csw/lib:/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs:/opt/csw/lib:/opt/csw/lib:/opt/csw/lib
> ...


Best regards

  — Dago


--
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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