Browse Source

Merge pull request #224 from stilor/ltrace

Ltrace
1.22
Bryan Hundven 7 years ago
parent
commit
195f6f2051
  1. 1
      samples/arm-cortex_a8-linux-gnueabi/crosstool.config
  2. 1
      samples/arm-cortexa5-linux-uclibcgnueabihf/crosstool.config
  3. 1
      samples/arm-unknown-linux-gnueabi/crosstool.config
  4. 1
      samples/arm-unknown-linux-uclibcgnueabi/crosstool.config
  5. 1
      samples/arm-unknown-linux-uclibcgnueabihf/crosstool.config
  6. 1
      samples/armeb-unknown-linux-gnueabi/crosstool.config
  7. 1
      samples/i686-nptl-linux-gnu/crosstool.config
  8. 19
      scripts/build/cc/100-gcc.sh

1
samples/arm-cortex_a8-linux-gnueabi/crosstool.config

@ -20,4 +20,5 @@ CT_DEBUG_gdb=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y
CT_GDB_NATIVE_STATIC=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/arm-cortexa5-linux-uclibcgnueabihf/crosstool.config

@ -25,4 +25,5 @@ CT_DEBUG_duma=y
CT_DEBUG_gdb=y
CT_GDB_CROSS_STATIC=y
CT_GDB_NATIVE=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/arm-unknown-linux-gnueabi/crosstool.config

@ -17,4 +17,5 @@ CT_DEBUG_duma=y
CT_DEBUG_gdb=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/arm-unknown-linux-uclibcgnueabi/crosstool.config

@ -20,4 +20,5 @@ CT_DEBUG_gdb=y
CT_GDB_CROSS_STATIC=y
CT_GDB_NATIVE=y
CT_GDB_NATIVE_STATIC=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/arm-unknown-linux-uclibcgnueabihf/crosstool.config

@ -23,4 +23,5 @@ CT_DEBUG_gdb=y
CT_GDB_CROSS_STATIC=y
CT_GDB_NATIVE=y
CT_GDB_NATIVE_STATIC=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/armeb-unknown-linux-gnueabi/crosstool.config

@ -18,4 +18,5 @@ CT_DEBUG_duma=y
CT_DEBUG_gdb=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

1
samples/i686-nptl-linux-gnu/crosstool.config

@ -16,4 +16,5 @@ CT_DEBUG_duma=y
CT_DEBUG_gdb=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y
CT_DEBUG_ltrace=y
CT_DEBUG_strace=y

19
scripts/build/cc/100-gcc.sh

@ -535,6 +535,16 @@ do_gcc_core_backend() {
CT_DoLog EXTRA "Installing ${log_txt}"
CT_DoExecLog ALL make ${JOBSFLAGS} ${extra_user_env} ${core_targets_install}
# Remove the libtool "pseudo-libraries": having them in the installed
# tree makes the libtoolized utilities that are built next assume
# that, for example, libsupc++ is an "accessory library", and not include
# -lsupc++ to the link flags. That breaks ltrace, for example.
CT_DoLog EXTRA "Housekeeping for final gcc compiler"
CT_Pushd "${prefix}"
find . -type f -name "*.la" -exec rm {} \; |CT_DoLog ALL
CT_Popd
if [ "${build_manuals}" = "yes" ]; then
CT_DoLog EXTRA "Building the GCC manuals"
CT_DoExecLog ALL make pdf html
@ -932,6 +942,15 @@ do_gcc_backend() {
CT_DoLog EXTRA "Installing final gcc compiler"
CT_DoExecLog ALL make ${JOBSFLAGS} install
# Remove the libtool "pseudo-libraries": having them in the installed
# tree makes the libtoolized utilities that are built next assume
# that, for example, libsupc++ is an "accessory library", and not include
# -lsupc++ to the link flags. That breaks ltrace, for example.
CT_DoLog EXTRA "Housekeeping for final gcc compiler"
CT_Pushd "${prefix}"
find . -type f -name "*.la" -exec rm {} \; |CT_DoLog ALL
CT_Popd
if [ "${build_manuals}" = "yes" ]; then
CT_DoLog EXTRA "Building the GCC manuals"
CT_DoExecLog ALL make pdf html

Loading…
Cancel
Save