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

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