Hello,

I just got access to an AIX machine,
compiling 8.25 on AIX-7 fails with "undefined symbol .rpl_malloc".

I'll be able to investigate further a bit later, but this seems similar to:
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=12841

regards,
- assaf.

===
  $ ./configure
  $ make V=1
  ...
  ...
        gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src -D_THREAD_SAFE 
-fPIC  -g -O2 -MT src/src_libstdbuf_so-libstdbuf.o -MD -MP -MF 
src/.deps/src_libstdbuf_so-libstdbuf.Tpo -c -o src/src_libstdbuf_so-libstdbuf.o 
`test -f 'src/libstdbuf.c' || echo './'`src/libstdbuf.c
        mv -f src/.deps/src_libstdbuf_so-libstdbuf.Tpo 
src/.deps/src_libstdbuf_so-libstdbuf.Po
        gcc -std=gnu99 -fPIC  -g -O2  -shared  -o src/libstdbuf.so 
src/src_libstdbuf_so-libstdbuf.o
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status

make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
====

$ uname -a
AIX power-aix 1 7 00F84C0C4C00

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/4.8.1/lto-wrapper
Target: powerpc-ibm-aix7.1.0.0
Configured with: ../gcc-4.8.1/configure --with-as=/usr/bin/as 
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware 
--mandir=/opt/freeware/man --infodir=/opt/freeware/info 
--enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd 
--host=powerpc-ibm-aix7.1.0.0
Thread model: aix
gcc version 4.8.1 (GCC)

        



Reply via email to