jjb: binutils-gdb: add --enable-ubsan to configure flags
[lttng-ci.git] / scripts / binutils-gdb / build.sh
index 43d6776771159d2d6c6cf29e8c345c3dd0a0d53b..18a749f960a81f2dea20c7f90f2c9df62124b666 100755 (executable)
@@ -167,7 +167,7 @@ case "$conf" in
     echo "Standard configuration"
 
     # Use system tools
-    CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof")
+    CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof" "--disable-gprofng")
 
     # Use system libs
     CONF_OPTS+=("--with-system-readline" "--with-system-zlib")
@@ -175,7 +175,7 @@ case "$conf" in
     # Enable optional features
     CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile=guile-2.2" "--enable-libctf")
 
-    CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests")
+    CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan")
 
     ;;
 esac
@@ -256,7 +256,7 @@ FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
 FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
 FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
@@ -334,7 +334,7 @@ FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
 FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
@@ -426,28 +426,28 @@ UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
 UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
 UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
-FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
-FAIL: gdb.dwarf2/clztest.exp: running to main in runto
+FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
+FAIL: gdb.dwarf2/clztest.exp: runto: run to main
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=1: running to all_started in runto
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=1: running to all_started in runto
 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
-FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
-FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
-FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
-FAIL: gdb.trace/ftrace.exp: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
-FAIL: gdb.trace/range-stepping.exp: running to main in runto
-FAIL: gdb.trace/trace-break.exp: running to main in runto
-FAIL: gdb.trace/trace-condition.exp: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
-FAIL: gdb.trace/trace-mt.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
+FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
+FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
+FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
+FAIL: gdb.trace/ftrace.exp: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
+FAIL: gdb.trace/range-stepping.exp: runto: run to main
+FAIL: gdb.trace/trace-break.exp: runto: run to main
+FAIL: gdb.trace/trace-condition.exp: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
+FAIL: gdb.trace/trace-mt.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
 EOF
 
 cat <<'EOF' > known-failures-native-extended-gdbserver
@@ -540,7 +540,7 @@ FAIL: gdb.cp/annota2.exp: delete bps
 FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
 FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
 FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
 FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
 FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
@@ -661,38 +661,38 @@ UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1
 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected (eof)
 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected (eof)
 UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
-FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
+FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
-FAIL: gdb.multi/remove-inferiors.exp: running to main in runto
-FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: running to main in runto
-FAIL: gdb.threads/gcore-stale-thread.exp: running to main in runto
-FAIL: gdb.threads/multi-create-ns-info-thr.exp: running to main in runto
-FAIL: gdb.threads/non-stop-fair-events.exp: running to main in runto
+FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
+FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
+FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
+FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
+FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
-FAIL: gdb.threads/thread-execl.exp: non-stop: running to main in runto
-FAIL: gdb.threads/thread-specific-bp.exp: non-stop: running to main in runto
-FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
-FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
-FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
-FAIL: gdb.trace/ftrace.exp: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
-FAIL: gdb.trace/range-stepping.exp: running to main in runto
-FAIL: gdb.trace/trace-break.exp: running to main in runto
-FAIL: gdb.trace/trace-condition.exp: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
-FAIL: gdb.trace/trace-mt.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
-DUPLICATE: gdb.trace/tspeed.exp: running to main in runto
+FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
+FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
+FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
+FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
+FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
+FAIL: gdb.trace/ftrace.exp: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
+FAIL: gdb.trace/range-stepping.exp: runto: run to main
+FAIL: gdb.trace/trace-break.exp: runto: run to main
+FAIL: gdb.trace/trace-condition.exp: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
+FAIL: gdb.trace/trace-mt.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
+DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
 EOF
 
 known_failures_file="known-failures-${target_board}"
This page took 0.02611 seconds and 4 git commands to generate.