[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22464: compilation fails on AIX-7 (undefined symbol .rpl_malloc)
From: |
Assaf Gordon |
Subject: |
bug#22464: compilation fails on AIX-7 (undefined symbol .rpl_malloc) |
Date: |
Mon, 25 Jan 2016 11:57:00 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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)
- bug#22464: compilation fails on AIX-7 (undefined symbol .rpl_malloc),
Assaf Gordon <=