config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 02 21:58:34 2009 +0000 (2009-04-02)
changeset 1287 2a70bb65824e
parent 1036 06aecfa2c355
child 1437 b37804bfeba6
permissions -rw-r--r--
Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:
The generated libtool for building libstdc++ adds the -nostdlib option to the
g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol"
error when linking against the libstdc++ shared object. This patch adds gcc
to the list of libraries linked against when linking libstdc++.

/trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch | 21 21 0 0 +++++++++++++++++
1 file changed, 21 insertions(+)
     1 # ltrace
     2 
     3 config DEBUG_ltrace
     4     select TOOL_libelf
     5     help
     6       ltrace is a program that simply runs the specified command until it exits.
     7       It intercepts and records the dynamic library calls which are called by
     8       the executed process and the signals which are received by that process.
     9       It can also intercept and print the system calls executed by the program.
    10 
    11 choice
    12     bool
    13     prompt "ltrace version"
    14 
    15 config LTRACE_V_0_4
    16     bool
    17     prompt "0.4"
    18 
    19 config LTRACE_V_0_5
    20     bool
    21     prompt "0.5"
    22 
    23 config LTRACE_V_0_5_1
    24     bool
    25     prompt "0.5.1  (EXPERIMENTAL)"
    26     depends on EXPERIMENTAL
    27 
    28 # CT_INSERT_VERSION_ABOVE
    29 # Don't remove above line!
    30 endchoice
    31 
    32 config LTRACE_VERSION
    33     string
    34     default "0.4" if LTRACE_V_0_4
    35     default "0.5" if LTRACE_V_0_5
    36     default "0.5.1" if LTRACE_V_0_5_1
    37 # CT_INSERT_VERSION_STRING_ABOVE
    38 # # Don't remove above line!