bug-texinfo
[Top][All Lists]
Advanced

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

Re: -no-undefined


From: Ken Brown
Subject: Re: -no-undefined
Date: Thu, 14 Jan 2016 08:49:31 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 1/14/2016 7:02 AM, Gavin Smith wrote:
On 13 January 2016 at 20:09, Eli Zaretskii <address@hidden> wrote:
Date: Wed, 13 Jan 2016 19:42:45 +0000
From: Gavin Smith <address@hidden>
Cc: Texinfo <address@hidden>

It would appear to be inappropriate to add the -no-undefined flag
unconditionally.

Then we should do so conditionally, I guess.  E.g., have a Make
variable that is normally empty, except on Windows.

Could -no-undefined be included in PERL_EXT_LDFLAGS or similar when
configure is run?

It may still be possible to add the "-lperl" option needed under MinGW
and Cygwin automatically. On the Solaris system in question, the
missing symbols are in
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/libperl.so.1, and doing

/bin/bash ./libtool  --tag=CC    --mode=link cc -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DVERSION=\"6.0\"
-DXS_VERSION=\"6.0\" "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"
    -module   -o TestXS.la -rpath /home/gavin/local/lib/texinfo
libtool.so TestXS_la-TestXS.lo  -no-undefined
-L/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE -lperl

worked with the -no-undefined flag.

So it looks like Solaris needs "-L$(PERL_INC) -lperl", just like Cygwin; see

  http://lists.gnu.org/archive/html/bug-texinfo/2016-01/msg00020.html

Ken



reply via email to

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