bug-m4
[Top][All Lists]
Advanced

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

linkage problem with m4 1.4.11 on AIX 6.1


From: Rainer Tammer
Subject: linkage problem with m4 1.4.11 on AIX 6.1
Date: Thu, 24 Apr 2008 13:59:19 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0

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.

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.

Any ideas ?

Bye
 Rainer




reply via email to

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