[Top][All Lists]

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

Re: linkage problem with m4 1.4.11 on AIX 6.1

From: Eric Blake
Subject: Re: linkage problem with m4 1.4.11 on AIX 6.1
Date: Thu, 24 Apr 2008 07:19:12 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080213 Thunderbird/ Mnenhy/

Hash: SHA1

According to Rainer Tammer on 4/24/2008 5:59 AM:
| Hello,
| on AIX 6.1 two objects are missing from the libm4.a.
| ...
| Making all in src
| gmake[2]: Entering directory
| `/opt/freeware/src/packages/BUILD/m4-1.4.11/src'
| gcc -std=gnu99  -g -O2   -o m4 m4.o builtin.o debug.o eval.o format.o
| freeze.o input.o macro.o output.o path.o symtab.o stackovf.o
| ../lib/libm4.a  -lm
| ld: 0711-317 ERROR: Undefined symbol: .gl_signbitd
| ld: 0711-317 ERROR: Undefined symbol: .gl_signbitl
| ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
| information.
| collect2: ld returned 8 exit status
| gmake[2]: *** [m4] Error 1
| gmake[2]: Leaving directory
| `/opt/freeware/src/packages/BUILD/m4-1.4.11/src'
| gmake[1]: *** [all-recursive] Error 1
| gmake[1]: Leaving directory `/opt/freeware/src/packages/BUILD/m4-1.4.11'
| gmake: *** [all] Error 2
| If I add signbitd.o and signbitl.o to M4_LIBOBJS (in src/Makefile) then
| the link is successful.
| With this "fix" all tests from make check are successful.

Thanks for the report.  This looks like a gnulib issue - the signbit[dl].o
files should have been included in lib/libm4.a (and not necessary in
M4_LIBOBJS in src/Makefile).  I'll let Bruno take a look at it, since he
manages the signbit module.

| Configure was called with: ./configure
| --prefix=/var/tmp/m4-root/opt/freeware
| The compile was done with gcc 4.2.3 on AIX 6.1 TL00 SP4
| This problem was not present in m4 1.4.10.
| In 1.4.10 the signbitd.o / signbitf.o / signbitl.o ware added
| automatically to the libm4.a.

And that should still happen with 1.4.11.

| Any ideas ?

Can you also post the config.log?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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