gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Build failure with gm2-6.4.0-20180130 mc on Solaris 10/sparc


From: john o goyo
Subject: Re: [Gm2] Build failure with gm2-6.4.0-20180130 mc on Solaris 10/sparc
Date: Wed, 07 Feb 2018 20:40:37 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15

On 07/02/2018 18:12, Gaius Mulley wrote:
john o goyo<address@hidden>  writes:
Greetings:

The latest tarball (20180130) builds fine until it reaches
gm2/boot-bin/mc.  LDFLAGS are not passed down to the gm2 build.

/home/build/gcc/5.2.0/bin/gcc -g -o gm2/boot-bin/mc \
[...]
gm2/mc-boot-ch/Gerrno.o gm2/mc-boot/main.o mcflex.o -lm -lpth
Undefined                       first referenced
symbol                             in file
[...]
recvfrom                            /usr/local/lib/libpth.so
ld: fatal: symbol referencing errors. No output written to gm2/boot-bin/mc

Here LDFLAGS="-lnsl -lsocket -lpthread".  It appears in the gcc
Makefile but the options do not appear in gm2.

Please advise.

Sincerely,
john
Hi John,

many thanks for the bug report - I've added LDFLAGS to the mc link on
the:  gm2+gcc-5.4.0 branch, gm2+gcc-6.4.0 branch and gm2+gcc-svn-trunc
branch.  Are you able to build gcc-5.4.0 rather than gcc-5.2.0 ?
(or gcc-6.4.0 ?).  I've built and run the regression tests on gcc-5.4.0
with this change - and all is ok on a GNU/Linux x86_64 system.
Thank you, Gaius.  I have built all three.  I will try the gm2-5.4.0 branch.

Sincerely,
jog

gm2+gcc-6.4.0 might be attractive as it has the runtime overflow patches
for NaNs detection and partial integer overflow detection

regards,
Gaius




reply via email to

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