GNU bug report logs -
#20940
Issue with AIX build ld:Undefined symbol: @4@null_action
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Please close.
The issue was resolved by building and installing GNU libiconv
This helped
https://gcc.gnu.org/ml/gcc/1997-10/msg00828.html
On Tue, Jun 30, 2015 at 8:02 AM, Pete Lancashire <pete <at> petelancashire.com>
wrote:
> diffutils 3.2
>
> oslevel -s 7100-03-05-1524
>
> xlc is 12.1.0.3
>
> CFLAGS cut back to not attempt optimization
>
> compiler run as xlc_r
>
> "Invokes the compiler for C source files. This command supports all of
> the ISO C99 standard features, and most IBM language extensions. This
> invocation is recommended for all applications."
>
> reference:
> http://www-01.ibm.com/support/knowledgecenter/SSGH2K_12.1.0/com.ibm.xlc121.aix.doc/compiler_ref/tucmpinv.html?lang=en
>
>
> PATH
> /usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/buildsw/bin:/usr/bin/X11:/sbin:.:/usr/vac/bin:/usr/vacpp/bin
>
> OBJECT_MODE 64
>
> CC xlc_r
> CFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX
> -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -I/usr/local/include
> LDFLAGS -L/usr/local/lib64 -L/usr/local/lib -bmaxdata:0x80000000 -brtl
> LIBS
> CPPFLAGS
> CXX xlc++_r
> CXXFLAGS -I/usr/local/include
>
> make
> [chomp]
> CC sdiff.o
> CCLD sdiff
> ld: 0711-317 ERROR: Undefined symbol: @4 <at> null_action
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> 1586-347 (U) An error occurred during linking of the object produced by
> the IPA Link step. The link return code was 8.
> Makefile:1132: recipe for target 'sdiff' failed
>
> $ which ld
> /usr/bin/ld
> $ /usr/bin/ld -V
> /usr/bin/ld: LD 7.1.3(4/1/14)
>
>
>
>
>
>
>
[Message part 2 (text/html, inline)]
This bug report was last modified 9 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.