[Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-03-14 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027 --- Comment #2 from Michael Thayer --- Adding -static-libasan to the build and link flags and linking to libasan.a (for some reason it is not always done automatically, but our build system is rather complex) produces a segmentation fault as

[Bug sanitizer/80027] New: ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-03-13 Thread michael.thayer at oracle dot com
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: michael.thayer at oracle dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- Created attachment 40957

[Bug sanitizer/80027] ASAN breaks DT_RPATH $ORIGIN in dlopen()

2017-03-14 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80027 --- Comment #3 from Michael Thayer --- Seems my mistake. I think the ASAN library was still getting loaded dynamically. Now I have the following problem, which I think means that code (constructors?) getting called before ASAN is initialised

[Bug sanitizer/82792] Fallthrough attribute ignored after label, and before with address sanitizer

2017-11-03 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 Michael Thayer changed: What|Removed |Added CC||dodji at gcc dot gnu.org,

[Bug sanitizer/82792] Fallthrough attribute ignored after label, and before with address sanitizer

2017-11-03 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 Michael Thayer changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #2 from Michael Thayer --- Created attachment 42510 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42510=edit Preprocessor output (almost identical to source)

[Bug c/82792] New: Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
Assignee: unassigned at gcc dot gnu.org Reporter: michael.thayer at oracle dot com Target Milestone: --- Created attachment 42508 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42508=edit Test case I have a test case, a simplified version of our actual code, wh

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #1 from Michael Thayer --- Created attachment 42509 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42509=edit gcc -v -save-temps -c -Wextra -Werror -x c -o test.o test.c > gcc-out 2>&1

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #3 from Michael Thayer --- Created attachment 42511 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42511=edit Assembly output

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #6 from Michael Thayer --- Created attachment 42514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42514=edit New test case

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #7 from Michael Thayer --- Created attachment 42515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42515=edit g++ -v -save-temps -c -Wextra -Werror -fsanitize=address -o test.o test.cpp > gcc-out 2>&1

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #5 from Michael Thayer --- This works for the test case I provided above, but not for our original source. Attaching a new test case. This one is slightly more involved, as it requires both g++ and address sanitizer. Should I

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #8 from Michael Thayer --- Created attachment 42516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42516=edit Preprocessor output (almost identical to source)

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #9 from Michael Thayer --- Created attachment 42517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42517=edit Assembly output