help-libtasn1
[Top][All Lists]
Advanced

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

Re: [Platform-testers] libtasn1 2.11 pre-release


From: Bruno Haible
Subject: Re: [Platform-testers] libtasn1 2.11 pre-release
Date: Tue, 22 Nov 2011 23:49:38 +0100
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Hi Simon,

> http://daily.josefsson.org/libtasn1/libtasn1-2.11.tar.gz

* Linux/MIPS (in 32-bit, n32, and 64-bit modes)
* Linux/SPARC (both 32-bit and 64-bit)
* Linux/HP-PA
* Linux/IA-64
* MacOS X 10.5 (both 32-bit and 64-bit)
* FreeBSD 6.4
* NetBSD 5.1
* OpenBSD 4.9
* AIX 5.1
* AIX 7.1
* HP-UX 11.00
* IRIX 6.5
* OSF/1 5.1
* Solaris 7
* Solaris 8
* Solaris 9
* Cygwin 1.7.9
* mingw with gcc

All 8 tests passed.

* Linux/x86_64

8 of 8 tests failed

The reason is that I have valgrind 3.5.0 installed, and "make check" apparently
runs valgrind on many 'bash' processes, each leading to a failure. See attached
log.

* mingw with MSVC 9 as compiler

Build failure:

  CCLD   libtasn1.la
cl : command line warning D9002 : unknown option 
"--version-script=./libtasn1.map", ignoring
cl : command line warning D9002 : unknown option "-dll", ignoring
LINK : fatal error LNK1181: input file "ink.lib" cannot be opened
make[3]: *** [libtasn1.la] error 2

config.status contains this:
S["HAVE_LD_VERSION_SCRIPT_FALSE"]="#"
S["HAVE_LD_VERSION_SCRIPT_TRUE"]=""

configure's output contains this:
checking if LD -Wl,--version-script works... yes

The reason is apparently that $CC = "$HOME/msvc/compile cl -nologo"
accepts and ignores the -Wl,--version-script option. Whereas when you use
CCLD, it uses libtool, and libtool trims off the prefix "-Wl," from this
option and passes --version-script to the linker (also $CC).

The bottom line is that before trying -Wl (in gnulib/m4/ld-version-script.m4)
one should first test whether -Wl is the linker option prefix at all.
Cf. libtool.m4 and gnulib/build-aux/config.rpath.

Bruno
-- 
In memoriam John F. Kennedy <http://en.wikipedia.org/wiki/John_F._Kennedy>

Attachment: libtasn1-linux-errors.txt.gz
Description: GNU Zip compressed data


reply via email to

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