public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Force to not use system ld / compiling on AIX
@ 2010-03-11 23:24 Andrew Guertin
  2010-03-12  9:30 ` Cedric Roux
  2010-03-13  2:29 ` dolphinling
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Guertin @ 2010-03-11 23:24 UTC (permalink / raw)
  To: gcc-help

I'm trying to compile gcc 4.2.4 on AIX. The AIX installation has a system copy 
of gcc 3.3.2 installed. When compiling, the system gcc uses the system ld, which 
runs out of memory (I have a 32MB ulimit). I would like to use a copy of gnu ld, 
which I have installed in $HOME/local, as gnu ld has options for reducing memory 
usage. However, no matter what I've tried so far the system ld has been used.

Things I have done, mostly in combination:
Set $PATH so that $HOME/local/bin is searched first
Configured with --with-ld=$HOME/local/bin/ld
Set $LD=$HOME/local/bin/ld, both during configure and make
Set $CFLAGS="-B$HOME/local/bin"
Manually run the affected gcc command with $PATH="$HOME/local/bin" (nothing 
else), $LD set, and with the option -B$HOME/local/bin
...Probably some other things, too.

Nothing has worked. The system ld is still used in all cases.

During configure, the messages
searching for powerpc-ibm-aix5.3.0.0-ld ... $HOME/local/bin/ld
searching for ld ... $HOME/local/bin/ld
(or something like them, don't have them in front of me) are printed. Setting 
$PATH got the second one away from system ld, setting $LD was required for the 
first one. Still, when actually compiling, the system ld is used.

Any ideas, either on how to force my copy of ld to be used, or how to work 
around the problem?

Thanks,
--dolphinling

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-11 23:24 Force to not use system ld / compiling on AIX Andrew Guertin
@ 2010-03-12  9:30 ` Cedric Roux
  2010-03-12 15:56   ` dolphinling
  2010-03-13  2:29 ` dolphinling
  1 sibling, 1 reply; 7+ messages in thread
From: Cedric Roux @ 2010-03-12  9:30 UTC (permalink / raw)
  To: Andrew Guertin; +Cc: gcc-help

Andrew Guertin wrote:
> searching for powerpc-ibm-aix5.3.0.0-ld ... $HOME/local/bin/ld
> searching for ld ... $HOME/local/bin/ld

maybe not the problem, but did you try with absolute paths?
I had a problem some time in the path with passing --prefix=~/this/that
to configure and getting wrong result in the end because ~ was not
extended.
I had to do --prefix=/home/me/this/that

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-12  9:30 ` Cedric Roux
@ 2010-03-12 15:56   ` dolphinling
  0 siblings, 0 replies; 7+ messages in thread
From: dolphinling @ 2010-03-12 15:56 UTC (permalink / raw)
  To: gcc-help

On 03/12/2010 03:26 AM, Cedric Roux wrote:
> Andrew Guertin wrote:
>> searching for powerpc-ibm-aix5.3.0.0-ld ... $HOME/local/bin/ld
>> searching for ld ... $HOME/local/bin/ld
>
> maybe not the problem, but did you try with absolute paths?
> I had a problem some time in the path with passing --prefix=~/this/that
> to configure and getting wrong result in the end because ~ was not
> extended.
> I had to do --prefix=/home/me/this/that

(Original mailer here; last mail was sent from the wrong address)

Yes, I have. It didn't help.

-- 
dolphinling
<http://dolphinling.net/>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-11 23:24 Force to not use system ld / compiling on AIX Andrew Guertin
  2010-03-12  9:30 ` Cedric Roux
@ 2010-03-13  2:29 ` dolphinling
  2010-03-16 14:59   ` Ian Lance Taylor
  1 sibling, 1 reply; 7+ messages in thread
From: dolphinling @ 2010-03-13  2:29 UTC (permalink / raw)
  To: gcc-help

I've just noticed: On another computer, running gentoo linux with gcc 4.3.4, the 
-B /some/dir option works, and uses ld from that directory (tested by running 
gcc -B /some/dir -Wl,--version files.cpp), but on this AIX machine, with gcc 
3.3.2, the -B option does not work.

The documentation says that the -B option has been present since (at least) 
version 2.95.

Does anyone know why it would be not working?

-- 
dolphinling
<http://dolphinling.net/>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-13  2:29 ` dolphinling
@ 2010-03-16 14:59   ` Ian Lance Taylor
  2010-03-16 16:14     ` dolphinling
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Lance Taylor @ 2010-03-16 14:59 UTC (permalink / raw)
  To: dolphinling; +Cc: gcc-help

dolphinling <lists@dolphinling.net> writes:

> I've just noticed: On another computer, running gentoo linux with gcc
> 4.3.4, the -B /some/dir option works, and uses ld from that directory
> (tested by running gcc -B /some/dir -Wl,--version files.cpp), but on
> this AIX machine, with gcc 3.3.2, the -B option does not work.
>
> The documentation says that the -B option has been present since (at
> least) version 2.95.
>
> Does anyone know why it would be not working?

It is extremely strange that the -B option would not work.  I have no
explanation for that.  What happens when you link with -Wl,-debug?
That should show you the exact name which the collect2 linker wrapper
invokes.  What name is that?

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-16 14:59   ` Ian Lance Taylor
@ 2010-03-16 16:14     ` dolphinling
  2010-03-18  0:51       ` Ian Lance Taylor
  0 siblings, 1 reply; 7+ messages in thread
From: dolphinling @ 2010-03-16 16:14 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

On 03/16/2010 10:55 AM, Ian Lance Taylor wrote:
> It is extremely strange that the -B option would not work.  I have no
> explanation for that.  What happens when you link with -Wl,-debug?
> That should show you the exact name which the collect2 linker wrapper
> invokes.  What name is that?

It prints out the following, among a lot of other stuff

collect2 version 3.3.2
ld_file_name        = /usr/bin/ld
c_file_name         = /usr/bin/g++
nm_file_name        = /users/a/g/aguertin/local/bin/nm
strip_file_name     = /users/a/g/aguertin/local/bin/strip
c_file              = /tmp//ccugHvMb.c
o_file              = /tmp//ccuW7VOd.o
COLLECT_GCC_OPTIONS = '-B' '/users/a/g/aguertin/local/bin' '-shared-libgcc'
COLLECT_GCC         = g++


Above that, it prints out a bunch of search paths, and then "Looking for 
'whatever', and ld is not one of the things it searches for.

Full log attached. (This is from g++ -B $HOME/local/bin -Wl,-debug *.cpp, with 
one file defining a simple function that prints a line out and the other file 
with main, calling that function).

-- 
dolphinling
<http://dolphinling.net/>

[-- Attachment #2: with-debug.txt --]
[-- Type: text/plain, Size: 47972 bytes --]

Convert string '/users/a/g/aguertin/local/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/users/a/g/aguertin/local/bin/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/:/usr/lib/gcc/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/lib/gcc/powerpc-ibm-aix5.3.0.0/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/' into prefixes, separator = ':'
  - add prefix: /users/a/g/aguertin/local/bin/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /users/a/g/aguertin/local/bin/
  - add prefix: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /usr/bin/../lib/gcc-lib/
  - add prefix: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/
  - add prefix: /usr/lib/gcc/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /usr/lib/gcc/powerpc-ibm-aix5.3.0.0/
  - add prefix: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/
  - add prefix: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/
  - add prefix: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/
Convert string '/users/a/g/aguertin/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/krb5/bin:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin:/usr/java14/jre/bin:/usr/java14/bin:/usr/java131/jre/bin:/usr/java131/bin:/usr/local/bin:/usr/vac/bin:/usr/local/local_dfs/bin:/opt/freeware/bin:/users/a/g/aguertin/local/bin' into prefixes, separator = ':'
  - add prefix: /users/a/g/aguertin/local/bin/
  - add prefix: /usr/bin/
  - add prefix: /etc/
  - add prefix: /usr/sbin/
  - add prefix: /usr/ucb/
  - add prefix: /usr/krb5/bin/
  - add prefix: /usr/bin/X11/
  - add prefix: /sbin/
  - add prefix: /usr/java5/jre/bin/
  - add prefix: /usr/java5/bin/
  - add prefix: /usr/java14/jre/bin/
  - add prefix: /usr/java14/bin/
  - add prefix: /usr/java131/jre/bin/
  - add prefix: /usr/java131/bin/
  - add prefix: /usr/local/bin/
  - add prefix: /usr/vac/bin/
  - add prefix: /usr/local/local_dfs/bin/
  - add prefix: /opt/freeware/bin/
  - add prefix: /users/a/g/aguertin/local/bin/
Looking for '/usr/ucb/nm'
  - failed to locate using absolute path
Looking for 'gnm'
Looking for 'gnm'
Looking for 'nm'
Looking for 'gstrip'
Looking for 'gstrip'
Looking for 'strip'
Looking for 'g++'
Looking for 'g++'
Convert string '/usr/lib:/opt/freeware/lib:/usr/local/lib:/usr/local/kerberos/lib:/usr/local/local_dfs/lib' into prefixes, separator = ':'
  - add prefix: /usr/lib/
  - add prefix: /opt/freeware/lib/
  - add prefix: /usr/local/lib/
  - add prefix: /usr/local/kerberos/lib/
  - add prefix: /usr/local/local_dfs/lib/
searching for: /users/a/g/aguertin/local/bin/libstdc++.a
searching for: /users/a/g/aguertin/local/bin/libstdc++.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libstdc++.a
found: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libstdc++.a
searching for: /users/a/g/aguertin/local/bin/libm.a
searching for: /users/a/g/aguertin/local/bin/libm.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libm.a
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libm.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../libm.a
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../libm.so
searching for: /usr/lib/libm.a
found: /usr/lib/libm.a
searching for: /users/a/g/aguertin/local/bin/libgcc_s.a
searching for: /users/a/g/aguertin/local/bin/libgcc_s.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc_s.a
found: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc_s.a
searching for: /users/a/g/aguertin/local/bin/libc.a
searching for: /users/a/g/aguertin/local/bin/libc.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libc.a
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libc.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../libc.a
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../libc.so
searching for: /usr/lib/libc.a
found: /usr/lib/libc.a
searching for: /users/a/g/aguertin/local/bin/libgcc_s.a
searching for: /users/a/g/aguertin/local/bin/libgcc_s.so
searching for: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc_s.a
found: /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc_s.a
List of libraries:
        /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libstdc++.a,
        /usr/lib/libm.a,
        /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc_s.a,
        /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc.a,
        /usr/lib/libc.a,
        sec=2 class=2 type=0 _GLOBAL__F_main
        sec=1 class=2 type=0 _GLOBAL__I__Z10myfunctionv
        sec=1 class=2 type=0 _GLOBAL__D__Z10myfunctionv
        sec=2 class=2 type=0 _GLOBAL__I__Z10myfunctionv
        sec=2 class=2 type=0 _GLOBAL__D__Z10myfunctionv
        sec=2 class=2 type=0 _GLOBAL__F__Z10myfunctionv
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm
        sec=1 class=2 type=0 _GLOBAL__FI_libstdc___so
        sec=1 class=2 type=0 _GLOBAL__FD_libstdc___so
        sec=2 class=2 type=0 _GLOBAL__FI_libstdc___so
        sec=2 class=2 type=0 _GLOBAL__FD_libstdc___so
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt15basic_stringbufIwSt11char_traitsIwESaIwEED1Ev.._.._.._.._libstdc___v3_src_complex_io.ccmLM10k
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx18_ComparableConceptIPKwE13__constraintsEv.._.._.._.._libstdc___v3_src_concept_inst.cc3tZZM5
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt5ctypeIcE13classic_tableEv
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv
        sec=1 class=2 type=0 _GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=2 class=2 type=0 _GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=2 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt13basic_filebufIcSt11char_traitsIcEE19_M_underflow_commonEb
        sec=2 class=2 type=0 _GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_fstream_inst.ccRZEZSL
        sec=2 class=2 type=0 _GLOBAL__F__ZSt21__throw_bad_exceptionv
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx10facet_nameE
        sec=1 class=2 type=0 _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=2 class=2 type=0 _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=2 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt11__ios_flags12_S_boolalphaE
        sec=2 class=2 type=0 _GLOBAL__F__ZStrsIwSt11char_traitsIwEERSt13basic_istreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_istream_inst.ccOMjEgH
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt6locale4noneE
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.ccSfwJUL
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.ccSfwJUL
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.ccSfwJUL
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt6locale5_ImplD2Ev
        sec=2 class=2 type=0 _GLOBAL__F__ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSsSt6vectorISsSaISsEEEEPSsET0_T_SA_S9_12__false_type.._.._.._.._libstdc___v3_src_misc_inst.ccsQAAFY
        sec=2 class=2 type=0 _GLOBAL__F__ZStlsIwSt11char_traitsIwEERSt13basic_ostreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_ostream_inst.ccmIt0b4
        sec=2 class=2 type=0 _GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_sstream_inst.ccUmWAVq
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt11logic_errorC2ERKSs
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt24__default_alloc_templateILb1ELi0EE10reallocateEPvmm.._.._.._.._libstdc___v3_src_stl_inst.ccZJ55Zo
        sec=2 class=2 type=0 _GLOBAL__F__ZSt17__copy_streambufsIwSt11char_traitsIwEElRSt9basic_iosIT_T0_EPSt15basic_streambufIS3_S4_ES9_.._.._.._.._libstdc___v3_src_streambuf_inst.cc61CYj7
        sec=2 class=2 type=0 _GLOBAL__F__ZSt13__destroy_auxIPSsEvT_S1_12__false_type.._.._.._.._libstdc___v3_src_string_inst.ccXy73Tz
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12strstreambufC2El
        sec=2 class=2 type=0 _GLOBAL__F__ZSt17__gslice_to_indexmRKSt8valarrayImES2_RS0_
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx27__verbose_terminate_handlerEv
        sec=2 class=2 type=0 _GLOBAL__F__ZSt13__destroy_auxIPSbIwSt11char_traitsIwESaIwEEEvT_S5_12__false_type.._.._.._.._libstdc___v3_src_wstring_inst.ccdvMavh
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt7codecvtIwcPcE6do_outERS0_PKwS4_RS4_S0_S0_S2_
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt7collateIcE10_M_compareEPKcS2_
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12ctype_bynameIcEC2EPKcm
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt8messagesIcE6do_getEiiiRKSs
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt10money_base20_S_construct_patternEccc
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt8numpunctIcE22_M_initialize_numpunctEPi
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt11__timepunctIcE6_M_putEPcmPKcPK2tm
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12__basic_fileIcEC2EPi
        sec=2 class=2 type=0 _GLOBAL__F__ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKPii
        sec=2 class=2 type=0 _GLOBAL__F___cxa_allocate_exception
        sec=2 class=2 type=0 _GLOBAL__F___cxa_bad_cast
        sec=2 class=2 type=0 _GLOBAL__F___cxa_begin_catch
        sec=2 class=2 type=0 _GLOBAL__F___cxa_get_globals_fast
        sec=2 class=2 type=0 _GLOBAL__F___gxx_personality_v0
        sec=2 class=2 type=0 _GLOBAL__F__ZN10__cxxabiv119__terminate_handlerE
        sec=2 class=2 type=0 _GLOBAL__F___cxa_throw
        sec=2 class=2 type=0 _GLOBAL__F__Znwm
        sec=2 class=2 type=0 _GLOBAL__F__ZnwmRKSt9nothrow_t
        sec=2 class=2 type=0 _GLOBAL__F__Znam
        sec=2 class=2 type=0 _GLOBAL__F___cxa_pure_virtual
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt9type_infoD2Ev
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt9type_info6beforeERKS_
        sec=2 class=2 type=0 _GLOBAL__F__ZN10__cxxabiv158_GLOBAL__N_.._.._.._.._libstdc___v3_libsupc___vec.ccM3Dn1k17uncatch_exceptionC2Ev
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt7codecvtIccPcE2idE
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv
        sec=1 class=2 type=0 _GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=1 class=2 type=0 _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.ccSfwJUL
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccgHo54Q
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cc5AdrLL
        sec=1 class=2 type=0 _GLOBAL__FI_libstdc___so
        sec=1 class=2 type=0 _GLOBAL__FD_libstdc___so
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt7codecvtIccPcE2idE
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt15basic_stringbufIwSt11char_traitsIwESaIwEED1Ev.._.._.._.._libstdc___v3_src_complex_io.cccEnFRE
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx18_ComparableConceptIPKwE13__constraintsEv.._.._.._.._libstdc___v3_src_concept_inst.ccCHQkBm
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt5ctypeIcE13classic_tableEv
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv
        sec=1 class=2 type=0 _GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU
        sec=2 class=2 type=0 _GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU
        sec=2 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt13basic_filebufIcSt11char_traitsIcEE19_M_underflow_commonEb
        sec=2 class=2 type=0 _GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_fstream_inst.cc9SFJkz
        sec=2 class=2 type=0 _GLOBAL__F__ZSt21__throw_bad_exceptionv
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx10facet_nameE
        sec=1 class=2 type=0 _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG
        sec=1 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG
        sec=2 class=2 type=0 _GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG
        sec=2 class=2 type=0 _GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt11__ios_flags12_S_boolalphaE
        sec=2 class=2 type=0 _GLOBAL__F__ZStrsIwSt11char_traitsIwEERSt13basic_istreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_istream_inst.ccimIkE9
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt6locale4noneE
        sec=1 class=2 type=0 _GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.cciLQ0wi
        sec=2 class=2 type=0 _GLOBAL__F__GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.cciLQ0wi
        sec=2 class=2 type=0 _GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.cciLQ0wi
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt6locale5_ImplD2Ev
        sec=2 class=2 type=0 _GLOBAL__F__ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSsSt6vectorISsSaISsEEEEPSsET0_T_SA_S9_12__false_type.._.._.._.._libstdc___v3_src_misc_inst.ccf4pRqA
        sec=2 class=2 type=0 _GLOBAL__F__ZStlsIwSt11char_traitsIwEERSt13basic_ostreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_ostream_inst.ccPXi2Ax
        sec=2 class=2 type=0 _GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_sstream_inst.ccS7gBLs
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt11logic_errorC2ERKSs
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt24__default_alloc_templateILb1ELi0EE10reallocateEPvmm.._.._.._.._libstdc___v3_src_stl_inst.ccx1Vz05
        sec=2 class=2 type=0 _GLOBAL__F__ZSt17__copy_streambufsIwSt11char_traitsIwEElRSt9basic_iosIT_T0_EPSt15basic_streambufIS3_S4_ES9_.._.._.._.._libstdc___v3_src_streambuf_inst.ccQi0Jyr
        sec=2 class=2 type=0 _GLOBAL__F__ZSt13__destroy_auxIPSsEvT_S1_12__false_type.._.._.._.._libstdc___v3_src_string_inst.cc9jflgu
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12strstreambufC2El
        sec=2 class=2 type=0 _GLOBAL__F__ZSt17__gslice_to_indexmRKSt8valarrayImES2_RS0_
        sec=2 class=2 type=0 _GLOBAL__F__ZN9__gnu_cxx27__verbose_terminate_handlerEv
        sec=2 class=2 type=0 _GLOBAL__F__ZSt13__destroy_auxIPSbIwSt11char_traitsIwESaIwEEEvT_S5_12__false_type.._.._.._.._libstdc___v3_src_wstring_inst.ccnmxlMu
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt7codecvtIwcPcE6do_outERS0_PKwS4_RS4_S0_S0_S2_
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt7collateIcE10_M_compareEPKcS2_
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12ctype_bynameIcEC2EPKcm
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt8messagesIcE6do_getEiiiRKSs
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt10money_base20_S_construct_patternEccc
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt8numpunctIcE22_M_initialize_numpunctEPi
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt11__timepunctIcE6_M_putEPcmPKcPK2tm
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt12__basic_fileIcEC2EPi
        sec=2 class=2 type=0 _GLOBAL__F__ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKPii
        sec=2 class=2 type=0 _GLOBAL__F___cxa_allocate_exception
        sec=2 class=2 type=0 _GLOBAL__F___cxa_bad_cast
        sec=2 class=2 type=0 _GLOBAL__F___cxa_begin_catch
        sec=2 class=2 type=0 _GLOBAL__F___cxa_get_globals_fast
        sec=2 class=2 type=0 _GLOBAL__F___gxx_personality_v0
        sec=2 class=2 type=0 _GLOBAL__F__ZN10__cxxabiv119__terminate_handlerE
        sec=2 class=2 type=0 _GLOBAL__F___cxa_throw
        sec=2 class=2 type=0 _GLOBAL__F__Znwm
        sec=2 class=2 type=0 _GLOBAL__F__ZnwmRKSt9nothrow_t
        sec=2 class=2 type=0 _GLOBAL__F__Znam
        sec=2 class=2 type=0 _GLOBAL__F___cxa_pure_virtual
        sec=2 class=2 type=0 _GLOBAL__F__ZNSt9type_infoD2Ev
        sec=2 class=2 type=0 _GLOBAL__F__ZNKSt9type_info6beforeERKS_
        sec=2 class=2 type=0 _GLOBAL__F__ZN10__cxxabiv158_GLOBAL__N_.._.._.._.._libstdc___v3_libsupc___vec.ccM3Dn1k17uncatch_exceptionC2Ev
        sec=1 class=2 type=0 _GLOBAL__FI_shr_o
        sec=1 class=2 type=0 _GLOBAL__FD_shr_o
        sec=2 class=2 type=0 _GLOBAL__FI_shr_o
        sec=2 class=2 type=0 _GLOBAL__FD_shr_o
        sec=2 class=2 type=0 _GLOBAL__F___divdi3
        sec=2 class=2 type=0 _GLOBAL__F___moddi3
        sec=2 class=2 type=0 _GLOBAL__F___udivdi3
        sec=2 class=2 type=0 _GLOBAL__F___umoddi3
        sec=2 class=2 type=0 _GLOBAL__F___udiv_w_sdiv
        sec=2 class=2 type=0 _GLOBAL__F___udivmoddi4
        sec=2 class=2 type=0 _GLOBAL__F__Unwind_GetCFA
        sec=2 class=2 type=0 _GLOBAL__F___register_frame_info_bases
        sec=2 class=2 type=0 _GLOBAL__F_.._.._gcc_unwind_sjlj.cs7pUOQ
        sec=2 class=2 type=0 _GLOBAL__F___gcc_personality_v0
        sec=2 class=2 type=0 _GLOBAL__F___divdi3
        sec=2 class=2 type=0 _GLOBAL__F___moddi3
        sec=2 class=2 type=0 _GLOBAL__F___udivdi3
        sec=2 class=2 type=0 _GLOBAL__F___umoddi3
        sec=2 class=2 type=0 _GLOBAL__F___udiv_w_sdiv
        sec=2 class=2 type=0 _GLOBAL__F___udivmoddi4
collect2 version 3.3.2
ld_file_name        = /usr/bin/ld
c_file_name         = /usr/bin/g++
nm_file_name        = /users/a/g/aguertin/local/bin/nm
strip_file_name     = /users/a/g/aguertin/local/bin/strip
c_file              = /tmp//ccugHvMb.c
o_file              = /tmp//ccuW7VOd.o
COLLECT_GCC_OPTIONS = '-B' '/users/a/g/aguertin/local/bin' '-shared-libgcc'
COLLECT_GCC         = g++
COMPILER_PATH       = /users/a/g/aguertin/local/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/users/a/g/aguertin/local/bin/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/:/usr/lib/gcc/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/lib/gcc/powerpc-ibm-aix5.3.0.0/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/bin/
LIBRARY_PATH        = /users/a/g/aguertin/local/bin/powerpc-ibm-aix5.3.0.0/3.3.2/:/users/a/g/aguertin/local/bin/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/lib/gcc/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/lib/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../../powerpc-ibm-aix5.3.0.0/lib/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../powerpc-ibm-aix5.3.0.0/3.3.2/:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../../:/lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/lib/:/usr/lib/powerpc-ibm-aix5.3.0.0/3.3.2/:/usr/lib/

6 constructor(s) found
3 destructor(s)  found
58 frame table(s) found
[Leaving a.out]

write_c_file - output name is a.out, prefix is a_out

========== output_file = a.out, c_file = /tmp//ccugHvMb.c
#ifdef __cplusplus
extern "C" {
#endif

write_c_file - output name is a.out, prefix is a_out
static int count;
typedef void entry_pt();
extern entry_pt x77 __asm__ ("_GLOBAL__I__Z10myfunctionv");
extern entry_pt x78 __asm__ ("_GLOBAL__I__ZNSt7codecvtIccPcE2idE");
extern entry_pt x79 __asm__ ("_GLOBAL__I__ZNSt5ctypeIcE13classic_tableEv");
extern entry_pt x80 __asm__ ("_GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU");
extern entry_pt x81 __asm__ ("_GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG");
extern entry_pt x82 __asm__ ("_GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.cciLQ0wi");
extern void *x6 __asm__ ("_GLOBAL__F_main");
extern void *x12 __asm__ ("_GLOBAL__F__Z10myfunctionv");
extern void *x14 __asm__ ("_GLOBAL__F__ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm");
extern void *x16 __asm__ ("_GLOBAL__F__ZNSt7codecvtIccPcE2idE");
extern void *x17 __asm__ ("_GLOBAL__F__ZNSt15basic_stringbufIwSt11char_traitsIwESaIwEED1Ev.._.._.._.._libstdc___v3_src_complex_io.cccEnFRE");
extern void *x18 __asm__ ("_GLOBAL__F__ZN9__gnu_cxx18_ComparableConceptIPKwE13__constraintsEv.._.._.._.._libstdc___v3_src_concept_inst.ccCHQkBm");
extern void *x20 __asm__ ("_GLOBAL__F__ZNSt5ctypeIcE13classic_tableEv");
extern void *x23 __asm__ ("_GLOBAL__F__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU");
extern void *x24 __asm__ ("_GLOBAL__F__ZNSt13basic_filebufIcSt11char_traitsIcEE19_M_underflow_commonEb");
extern void *x25 __asm__ ("_GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_fstream_inst.cc9SFJkz");
extern void *x26 __asm__ ("_GLOBAL__F__ZSt21__throw_bad_exceptionv");
extern void *x27 __asm__ ("_GLOBAL__F__ZN9__gnu_cxx10facet_nameE");
extern void *x30 __asm__ ("_GLOBAL__F__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG");
extern void *x31 __asm__ ("_GLOBAL__F__ZNSt11__ios_flags12_S_boolalphaE");
extern void *x32 __asm__ ("_GLOBAL__F__ZStrsIwSt11char_traitsIwEERSt13basic_istreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_istream_inst.ccimIkE9");
extern void *x33 __asm__ ("_GLOBAL__F__ZNSt6locale4noneE");
extern void *x35 __asm__ ("_GLOBAL__F__GLOBAL__I__ZNSt21__ctype_abstract_baseIcED0Ev.._.._.._.._libstdc___v3_src_locale_inst.cciLQ0wi");
extern void *x36 __asm__ ("_GLOBAL__F__ZNSt6locale5_ImplD2Ev");
extern void *x37 __asm__ ("_GLOBAL__F__ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSsSt6vectorISsSaISsEEEEPSsET0_T_SA_S9_12__false_type.._.._.._.._libstdc___v3_src_misc_inst.ccf4pRqA");
extern void *x38 __asm__ ("_GLOBAL__F__ZStlsIwSt11char_traitsIwEERSt13basic_ostreamIT_T0_ES6_St5_Setw.._.._.._.._libstdc___v3_src_ostream_inst.ccPXi2Ax");
extern void *x39 __asm__ ("_GLOBAL__F__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_sstream_inst.ccS7gBLs");
extern void *x40 __asm__ ("_GLOBAL__F__ZNSt11logic_errorC2ERKSs");
extern void *x41 __asm__ ("_GLOBAL__F__ZNSt24__default_alloc_templateILb1ELi0EE10reallocateEPvmm.._.._.._.._libstdc___v3_src_stl_inst.ccx1Vz05");
extern void *x42 __asm__ ("_GLOBAL__F__ZSt17__copy_streambufsIwSt11char_traitsIwEElRSt9basic_iosIT_T0_EPSt15basic_streambufIS3_S4_ES9_.._.._.._.._libstdc___v3_src_streambuf_inst.ccQi0Jyr");
extern void *x43 __asm__ ("_GLOBAL__F__ZSt13__destroy_auxIPSsEvT_S1_12__false_type.._.._.._.._libstdc___v3_src_string_inst.cc9jflgu");
extern void *x44 __asm__ ("_GLOBAL__F__ZNSt12strstreambufC2El");
extern void *x45 __asm__ ("_GLOBAL__F__ZSt17__gslice_to_indexmRKSt8valarrayImES2_RS0_");
extern void *x46 __asm__ ("_GLOBAL__F__ZN9__gnu_cxx27__verbose_terminate_handlerEv");
extern void *x47 __asm__ ("_GLOBAL__F__ZSt13__destroy_auxIPSbIwSt11char_traitsIwESaIwEEEvT_S5_12__false_type.._.._.._.._libstdc___v3_src_wstring_inst.ccnmxlMu");
extern void *x48 __asm__ ("_GLOBAL__F__ZNKSt7codecvtIwcPcE6do_outERS0_PKwS4_RS4_S0_S0_S2_");
extern void *x49 __asm__ ("_GLOBAL__F__ZNKSt7collateIcE10_M_compareEPKcS2_");
extern void *x50 __asm__ ("_GLOBAL__F__ZNSt12ctype_bynameIcEC2EPKcm");
extern void *x51 __asm__ ("_GLOBAL__F__ZNKSt8messagesIcE6do_getEiiiRKSs");
extern void *x52 __asm__ ("_GLOBAL__F__ZNSt10money_base20_S_construct_patternEccc");
extern void *x53 __asm__ ("_GLOBAL__F__ZNSt8numpunctIcE22_M_initialize_numpunctEPi");
extern void *x54 __asm__ ("_GLOBAL__F__ZNKSt11__timepunctIcE6_M_putEPcmPKcPK2tm");
extern void *x55 __asm__ ("_GLOBAL__F__ZNSt12__basic_fileIcEC2EPi");
extern void *x56 __asm__ ("_GLOBAL__F__ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKPii");
extern void *x57 __asm__ ("_GLOBAL__F___cxa_allocate_exception");
extern void *x58 __asm__ ("_GLOBAL__F___cxa_bad_cast");
extern void *x59 __asm__ ("_GLOBAL__F___cxa_begin_catch");
extern void *x60 __asm__ ("_GLOBAL__F___cxa_get_globals_fast");
extern void *x61 __asm__ ("_GLOBAL__F___gxx_personality_v0");
extern void *x62 __asm__ ("_GLOBAL__F__ZN10__cxxabiv119__terminate_handlerE");
extern void *x63 __asm__ ("_GLOBAL__F___cxa_throw");
extern void *x64 __asm__ ("_GLOBAL__F__Znwm");
extern void *x65 __asm__ ("_GLOBAL__F__ZnwmRKSt9nothrow_t");
extern void *x66 __asm__ ("_GLOBAL__F__Znam");
extern void *x67 __asm__ ("_GLOBAL__F___cxa_pure_virtual");
extern void *x68 __asm__ ("_GLOBAL__F__ZNSt9type_infoD2Ev");
extern void *x69 __asm__ ("_GLOBAL__F__ZNKSt9type_info6beforeERKS_");
extern void *x70 __asm__ ("_GLOBAL__F__ZN10__cxxabiv158_GLOBAL__N_.._.._.._.._libstdc___v3_libsupc___vec.ccM3Dn1k17uncatch_exceptionC2Ev");
extern void *x71 __asm__ ("_GLOBAL__F___divdi3");
extern void *x72 __asm__ ("_GLOBAL__F___moddi3");
extern void *x73 __asm__ ("_GLOBAL__F___udivdi3");
extern void *x74 __asm__ ("_GLOBAL__F___umoddi3");
extern void *x75 __asm__ ("_GLOBAL__F___udiv_w_sdiv");
extern void *x76 __asm__ ("_GLOBAL__F___udivmoddi4");
        static void *frame_table[] = {
                &x6,
                &x12,
                &x14,
                &x16,
                &x17,
                &x18,
                &x20,
                &x23,
                &x24,
                &x25,
                &x26,
                &x27,
                &x30,
                &x31,
                &x32,
                &x33,
                &x35,
                &x36,
                &x37,
                &x38,
                &x39,
                &x40,
                &x41,
                &x42,
                &x43,
                &x44,
                &x45,
                &x46,
                &x47,
                &x48,
                &x49,
                &x50,
                &x51,
                &x52,
                &x53,
                &x54,
                &x55,
                &x56,
                &x57,
                &x58,
                &x59,
                &x60,
                &x61,
                &x62,
                &x63,
                &x64,
                &x65,
                &x66,
                &x67,
                &x68,
                &x69,
                &x70,
                &x71,
                &x72,
                &x73,
                &x74,
                &x75,
                &x76,
        0
};
struct object {
  void *pc_begin;
  void *pc_end;
  void *fde_begin;
  void *fde_array;
  __SIZE_TYPE__ count;
  struct object *next;
};
extern void __register_frame_info_table (void *, struct object *);
extern void *__deregister_frame_info (void *);
static void reg_frame () {
        static struct object ob;
        __register_frame_info_table (frame_table, &ob);
        }
static void dereg_frame () {
        __deregister_frame_info (frame_table);
        }
void _GLOBAL__FI_a_out() {
        static entry_pt *ctors[] = {
                x77,
                x78,
                x79,
                x80,
                x81,
                x82,
        reg_frame,
        };
        entry_pt **p;
        if (count++ != 0) return;
        p = ctors + 7;
        while (p > ctors) (*--p)();
}
extern entry_pt x83 __asm__ ("_GLOBAL__D__Z10myfunctionv");
extern entry_pt x84 __asm__ ("_GLOBAL__D__GLOBAL__I__ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEE2fdEv.._.._.._.._libstdc___v3_src_ext_inst.ccRz66EU");
extern entry_pt x85 __asm__ ("_GLOBAL__D__GLOBAL__I__ZThn8_NSt14basic_iostreamIwSt11char_traitsIwEED0Ev.._.._.._.._libstdc___v3_src_io_inst.cchNKUfG");
void _GLOBAL__FD_a_out() {
        static entry_pt *dtors[] = {
                x83,
                x84,
                x85,
        dereg_frame,
        };
        entry_pt **p;
        if (--count != 0) return;
        p = dtors;
        while (p < dtors + 4) (*p++)();
}
#ifdef __cplusplus
}
#endif
========== end of c_file


========== export_file = /tmp//ccstcvge.x
_GLOBAL__F_main
_GLOBAL__I__Z10myfunctionv
_GLOBAL__D__Z10myfunctionv
_GLOBAL__F__Z10myfunctionv
========== end of export_file

/usr/bin/g++ -x c -c -o /tmp//ccuW7VOd.o -B /users/a/g/aguertin/local/bin -fno-exceptions -w /tmp//ccugHvMb.c
/usr/bin/ld -bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect /lib/crt0.o /tmp//ccuW7VOd.o -L/users/a/g/aguertin/local/bin -L/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2 -L/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/../../.. /tmp//ccCN4KTb.o /tmp//ccGzQ3Ca.o -lstdc++ -lm -lgcc_s /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc.a -lc -lgcc_s /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc.a -bE:/tmp//ccstcvge.x -binitfini:_GLOBAL__FI_a_out:_GLOBAL__FD_a_out
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge](std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char> const& std::use_facet<std::ctype<char> >(std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::~locale [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__F__ZNSt7codecvtIccPcE2idE
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__F__ZNSt9type_infoD2Ev
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::~__class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::~__class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::~type_info [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::~type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::~type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::~type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::~type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::__is_pointer_p() const
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::__is_pointer_p() const
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::__is_function_p() const
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::__is_function_p() const
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::__do_catch(std::type_info const*, void**, unsigned) const
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::__do_catch(std::type_info const*, void**, unsigned) const
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::operator==(std::type_info const&) const
ld: 0711-224 WARNING: Duplicate symbol: std::type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const
ld: 0711-224 WARNING: Duplicate symbol: .std::type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::~__class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::~__class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::__do_catch(std::type_info const*, void**, unsigned) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::__do_catch(std::type_info const*, void**, unsigned) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void**) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__si_class_type_info::~__si_class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__si_class_type_info::~__si_class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__class_type_info::~__class_type_info [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__si_class_type_info::~__si_class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__si_class_type_info::~__si_class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__si_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__si_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__si_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__si_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__si_class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__si_class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__vmi_class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: .__dynamic_cast
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .__cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__vmi_class_type_info::__do_upcast(__cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__upcast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const
ld: 0711-224 WARNING: Duplicate symbol: __cxxabiv1::__vmi_class_type_info::__do_find_public_src(long, void const*, __cxxabiv1::__class_type_info const*, void const*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::id
ld: 0711-224 WARNING: Duplicate symbol: std::locale::id::_S_highwater
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<wchar_t>::id
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t> const& std::use_facet<std::ctype<wchar_t> >(std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::operator=(std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::operator==(std::locale const&) const
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__F__ZNSt5ctypeIcE13classic_tableEv
ld: 0711-224 WARNING: Duplicate symbol: std::codecvt<char, char, char*>::id
ld: 0711-224 WARNING: Duplicate symbol: std::codecvt<wchar_t, char, char*>::id
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__F__ZNSt6locale4noneE
ld: 0711-224 WARNING: Duplicate symbol: std::locale::_S_classic
ld: 0711-224 WARNING: Duplicate symbol: std::locale::_S_global
ld: 0711-224 WARNING: Duplicate symbol: std::locale::facet::_S_c_locale
ld: 0711-224 WARNING: Duplicate symbol: std::locale::facet::_S_c_name
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::classic()
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge](std::locale::_Impl*)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[not-in-charge](std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge](char const*)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[not-in-charge](std::locale const&, char const*, unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::_M_coalesce(std::locale const&, std::locale const&, unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::_S_normalize_category(unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge](std::locale const&, char const*, unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[not-in-charge](std::locale const&, std::locale const&, unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::locale[in-charge](std::locale const&, std::locale const&, unsigned)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::~locale [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::name() const
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::global(std::locale const&)
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::facet::_M_add_reference()
ld: 0711-224 WARNING: Duplicate symbol: .std::locale::facet::_M_remove_reference()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::~ctype [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::~ctype [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::~ctype [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::~ctype [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::~ctype [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_is(unsigned, char) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_is(unsigned, char) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_is(char const*, char const*, unsigned*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_is(char const*, char const*, unsigned*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_scan_is(unsigned, char const*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_scan_is(unsigned, char const*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_scan_not(unsigned, char const*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_scan_not(unsigned, char const*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_toupper(char) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_toupper(char) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_toupper(char*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_toupper(char*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_tolower(char) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_tolower(char) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_tolower(char*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_tolower(char*, char const*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_widen(char) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_widen(char) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_widen(char const*, char const*, char*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_widen(char const*, char const*, char*) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_narrow(char, char) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_narrow(char, char) const
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<char>::do_narrow(char const*, char const*, char, char*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<char>::do_narrow(char const*, char const*, char, char*) const
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::ctype[not-in-charge](int*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<wchar_t>::~ctype [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::~ctype [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: std::ctype<wchar_t>::~ctype [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::~ctype [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::ctype[in-charge](int*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::~ctype [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype_byname<wchar_t>::ctype_byname[not-in-charge](char const*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype<wchar_t>::ctype[not-in-charge](unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .std::ctype_byname<wchar_t>::ctype_byname[in-charge](char const*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<char, char, char*>::~codecvt [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<char, char, char*>::~codecvt [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<char, char, char*>::~codecvt [in-charge deleting]()
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<wchar_t, char, char*>::~codecvt [not-in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<wchar_t, char, char*>::~codecvt [in-charge]()
ld: 0711-224 WARNING: Duplicate symbol: .std::codecvt<wchar_t, char, char*>::~codecvt [in-charge deleting]()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
[Leaving /tmp//ccugHvMb.c]
[Leaving /tmp//ccuW7VOd.o]
[Leaving /tmp//ccstcvge.x]


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Force to not use system ld / compiling on AIX
  2010-03-16 16:14     ` dolphinling
@ 2010-03-18  0:51       ` Ian Lance Taylor
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Lance Taylor @ 2010-03-18  0:51 UTC (permalink / raw)
  To: dolphinling; +Cc: gcc-help

dolphinling <lists@dolphinling.net> writes:

> On 03/16/2010 10:55 AM, Ian Lance Taylor wrote:
>> It is extremely strange that the -B option would not work.  I have no
>> explanation for that.  What happens when you link with -Wl,-debug?
>> That should show you the exact name which the collect2 linker wrapper
>> invokes.  What name is that?
>
> It prints out the following, among a lot of other stuff
>
> collect2 version 3.3.2
> ld_file_name        = /usr/bin/ld
> c_file_name         = /usr/bin/g++
> nm_file_name        = /users/a/g/aguertin/local/bin/nm
> strip_file_name     = /users/a/g/aguertin/local/bin/strip
> c_file              = /tmp//ccugHvMb.c
> o_file              = /tmp//ccuW7VOd.o
> COLLECT_GCC_OPTIONS = '-B' '/users/a/g/aguertin/local/bin' '-shared-libgcc'
> COLLECT_GCC         = g++
>
>
> Above that, it prints out a bunch of search paths, and then "Looking
> for 'whatever', and ld is not one of the things it searches for.
>
> Full log attached. (This is from g++ -B $HOME/local/bin -Wl,-debug
> *.cpp, with one file defining a simple function that prints a line out
> and the other file with main, calling that function).

Thanks for sending the log.  gcc 3.3.2 is pretty old and I don't have
a copy online.  Looking at gcc 4.0, it looks like this would happen if
gcc were configured with --with-ld=/usr/bin/ld, or if gcc were
configured with the environment variable DEFAULT_LINKER set to
/usr/bin/ld.  That would override the -B option.

Otherwise I have no explanation.

Ian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-18  0:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 23:24 Force to not use system ld / compiling on AIX Andrew Guertin
2010-03-12  9:30 ` Cedric Roux
2010-03-12 15:56   ` dolphinling
2010-03-13  2:29 ` dolphinling
2010-03-16 14:59   ` Ian Lance Taylor
2010-03-16 16:14     ` dolphinling
2010-03-18  0:51       ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).