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: Gaius Mulley
Subject: Re: [Gm2] Build failure with gm2-6.4.0-20180130 mc on Solaris 10/sparc
Date: Wed, 07 Feb 2018 23:12:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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
> recv                                /usr/local/lib/libpth.so
> accept                              /usr/local/lib/libpth.so
> sendto                              /usr/local/lib/libpth.so
> getsockopt                          /usr/local/lib/libpth.so
> connect                             /usr/local/lib/libpth.so
> 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.
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]