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