http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
Bug #: 55289
Summary: darwin bootstrap fails due to missing
libsanitizer/interception/mach_override directory and
files
Classification: Unclassified
Product:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
00:46:54 UTC ---
(In reply to comment #1)
Manually adding the libsanitizer/interception/mach_override directory from
the llvm
compiler-rt 3.2 branch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
14:06:46 UTC ---
(In reply to comment #4)
(In reply to comment #3)
dyld: Symbol not found: _CFStringCreateCopy
this is found in the CoreFoundation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
14:29:57 UTC ---
(In reply to comment #6)
what you need is to have -framework CoreFoundation on the link line - and
I
guess the configury c. needs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
14:39:00 UTC ---
Iain,
This brings up the sticky situation of having to modify the Makefile.am
file in libsanitizer/interception to add mach_override
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #9 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
19:50:20 UTC ---
Created attachment 28676
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28676
hack to build asan support
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
19:52:35 UTC ---
The attached patch (with configure and Makefile.in regenerated) allows the asan
support to build on x86_64-apple-darwin12. It still isn't
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
20:13:18 UTC ---
For the simple test case...
int main()
{
int i;
i=5;
}
compiled with 'g++-fsf-4.8 -faddress-sanitizer -O0 -framework CoreFoundation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #12 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
20:21:35 UTC ---
The disasembled testcase that is choking on shows...
test.o: file format mach-o-x86-64
Disassembly of section .text
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #13 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
20:25:45 UTC ---
Also note the comment in mach_override.c...
#elif defined(__x86_64__)
// TODO(glider): disassembling the 0x48, 0x89 sequences is trickier than
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #14 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
20:50:37 UTC ---
Actually, this appears to be just noise on the output from a functional
libasan. If I use the testcase from
http://code.google.com/p/address
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Attachment #28676|0 |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #17 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-13
22:14:10 UTC ---
(In reply to comment #16)
Created attachment 28677 [details]
prototype patch for adding darwin asan support
Note that you need to run
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Attachment #28677|0 |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #20 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
01:30:13 UTC ---
Revised patch builds at r193494 after...
cd libsanitizer
autoconf -I. -I../config
automake-1.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #21 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
14:24:43 UTC ---
Patch posted at http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01116.html which
assumes the libsanitizer maintainers import mach_override
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #22 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
14:45:48 UTC ---
Revised patch posted at
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01119.html.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #23 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
15:51:44 UTC ---
Created attachment 28683
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28683
debug output from mach_override running use_after_free test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #24 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
15:59:55 UTC ---
Created attachment 28684
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28684
disassembled use-after-free.o from clang 3.2
Disassembled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #25 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
16:02:03 UTC ---
Created attachment 28685
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28685
disassembled use-after-free.o from gcc trunk
Disassembled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #26 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
16:03:03 UTC ---
Created attachment 28686
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28686
diff between disassembled use-after-free.o generated by clang
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #27 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
16:06:10 UTC ---
The error in mach_override.c occurs for the use-after-free.c test case at...
Replacing function at 0x1119ef630
First 16 bytes of the function
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #30 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
16:54:06 UTC ---
(In reply to comment #29)
Thanks with the patch applied from comment 29, now the use-after-free testcase
works without errors...
howarth
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #31 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
19:10:15 UTC ---
Also fine on i386-apple-darwin10...
howarth% ./use-after-free
=
==82550
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #33 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
20:56:50 UTC ---
(In reply to comment #32)
Just want to repeat, that any work on mach_override may end up being wasted
time
because we plan to get rid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #34 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-14
22:09:37 UTC ---
(In reply to comment #32)
Just want to repeat, that any work on mach_override may end up being wasted
time
because we plan to get rid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #37 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
02:06:45 UTC ---
Created attachment 28692
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28692
revised patch with regenerated files and proposed darwin.h link
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #38 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
02:10:33 UTC ---
(In reply to comment #35)
Is that certain to be soon enough
Not 100%. I am just warning you.
Considering that the release schedule
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #40 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
13:46:32 UTC ---
(In reply to comment #39)
I agree with Kostya that no major changes to mach_override are necessary
because we are really going to dump
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #41 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
13:51:11 UTC ---
I will also post a small patch to gcc-patches to allow darwin to automatically
pass the required linker flags on the link spec in darwin.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #43 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
15:12:31 UTC ---
Posted updated patch to adjust for bit-rot from the libsanitizer multilib
support checkin and add required spec handling to gcc/config/darwin.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #44 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
17:53:40 UTC ---
Posted the final revision of the patch that now properly handles static linkage
options with -faddress-sanitizer...
http://gcc.gnu.org/ml/gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #46 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
18:28:44 UTC ---
(In reply to comment #45)
(In reply to comment #35)
Is that certain to be soon enough
Not 100%. I am just warning you.
apologies
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #47 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
19:09:00 UTC ---
(In reply to comment #46)
(In reply to comment #45)
(In reply to comment #35)
Is that certain to be soon enough
Not 100%. I am just
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
--- Comment #48 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-15
19:19:06 UTC ---
As proof that the current mach_override.h and mach_override.c from current
compiler-rt svn are reasonable to use for gcc 4.8.0, I compiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54083
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
CC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55398
Bug #: 55398
Summary: r193595 breaks bootstrap with clang compilers
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55398
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-19
21:41:04 UTC ---
This was with...
../gcc-4.8-20121119/configure --prefix=/sw --prefix=/sw/lib/gcc4.8
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.8/info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55400
Bug #: 55400
Summary: bootstrap with llvm-gcc fails for gcc trunk
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55387
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-19
21:50:44 UTC ---
This backtraces on x86_64-apple-darwin12 using llvm-gcc from Xcode 4.5.2 as...
# gdb build/genautomata
GNU gdb 6.3.50-20050815 (Apple version
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55387
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-20
17:43:37 UTC ---
This problem no longer exists at r193669 on x86_64-apple-darwin12 with Xcode
4.5.2 so it appears that...
r193667 | dnovillo | 2012-11-20 11:26
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429
Bug #: 55429
Summary: new UNRESOLVED:
20_util/enable_shared_from_this/cons/constexpr.cc
scan-assembler on darwin
Classification: Unclassified
Product: gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-21
15:35:21 UTC ---
This error appears in libstdc++.log as...
Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55289
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Status|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-25
19:57:28 UTC ---
I suspect this issue existed from the original commit of...
r193445 | jason | 2012-11-12 12:51:26 -0500 (Mon, 12 Nov 2012) | 1 line
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-25
20:57:08 UTC ---
Looking at this on current gcc trunk under x86_64-apple-darwin12 using...
cd darwin_objdir/x86_64-apple-darwin11.4.2/libstdc++-v3
make -k check
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55479
Bug #: 55479
Summary: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib
-O2 -lcaf_single execution test fails with
-fsanitize=address
Classification: Unclassified
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
Bug #: 55480
Summary: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases
ICE f91 with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55479
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
01:20:03 UTC ---
Created attachment 28785
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28785
assembly file for registering_1.f90 -fcoarray=lib -O2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
01:30:31 UTC ---
This same ICE in f951 with -fsanitize=address also occurs in the testcases...
FAIL: gfortran.dg/class_allocate_1.f03 -O0 (internal compiler
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
01:34:28 UTC ---
Also in...
FAIL: gfortran.dg/c_char_tests.f03 -O2 (internal compiler error)
FAIL: gfortran.dg/c_char_tests.f03 -O2 (test for excess errors
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55482
Bug #: 55482
Summary: gfortran.dg/class_array_7.f03 execution failures with
-fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55483
Bug #: 55483
Summary: gfortran.dg/class_optional_2.f90 execution failures
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55482
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
01:52:37 UTC ---
Created attachment 28786
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28786
assembly file for gfortran.dg/class_array_7.f03 -O0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55483
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
01:56:48 UTC ---
Created attachment 28787
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28787
assembly file for gfortran.dg/class_optional_2.f90 -O0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55484
Bug #: 55484
Summary: gfortran.dg/realloc_on_assign_5.f03 execution failures
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55484
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
03:40:19 UTC ---
Created attachment 28788
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28788
assembly file for gfortran.dg/realloc_on_assign_5.f03 -O0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
03:55:45 UTC ---
Also causes...
FAIL: gfortran.dg/typebound_operator_9.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03 -O0 (test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
14:08:41 UTC ---
Also seen in...
FAIL: gcc.c-torture/compile/20010525-1.c -O0 (internal compiler error)
FAIL: gcc.c-torture/compile/20010525-1.c -O0 (test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
14:48:24 UTC ---
On x86_64 Fedora 15, these failure back trace as...
$ gdb /home/howarth/work-gcc/gcc/cc1
...
(gdb) r -quiet -v -iprefix
/home/howarth/work-gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55480
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-27
23:26:13 UTC ---
The addition of the proposed patches from...
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02254.html
http://gcc.gnu.org/ml/gcc-patches/2012-11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
Bug #: 55502
Summary: gcc.c-torture/execute/builtins/memcpy-chk.c execution
failures with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
00:35:52 UTC ---
Created attachment 28803
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28803
assembly file for gcc.c-torture/execute/builtins/memcpy-chk.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
00:51:22 UTC ---
Similar failures are seen for
FAIL: gcc.c-torture/execute/builtins/memmove-chk.c execution, -O1
FAIL: gcc.c-torture/execute/builtins
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
00:54:19 UTC ---
Created attachment 28804
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28804
assembly file for gcc.c-torture/execute/builtins/memmove-chk.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
00:58:03 UTC ---
Similar failures are seen for
FAIL: gcc.c-torture/execute/builtins/mempcpy-chk.c execution, -O1
FAIL: gcc.c-torture/execute/builtins
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
00:59:45 UTC ---
Created attachment 28805
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28805
assembly file for gcc.c-torture/execute/builtins/mempcpy-chk.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:03:55 UTC ---
Similar failures are seen for
FAIL: gcc.c-torture/execute/builtins/memset-chk.c execution, -O1
FAIL: gcc.c-torture/execute/builtins/memset
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:05:22 UTC ---
Created attachment 28806
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28806
assembly file for gcc.c-torture/execute/builtins/memset-chk.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:08:34 UTC ---
Similar failures are seen for
FAIL: gcc.c-torture/execute/builtins/strcpy-chk.c execution, -O2
FAIL: gcc.c-torture/execute/builtins/strcpy
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502
--- Comment #9 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:10:42 UTC ---
Created attachment 28807
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28807
assembly file for gcc.c-torture/execute/builtins/strcpy-chk.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55504
Bug #: 55504
Summary: gcc.c-torture/execute/20071018-1.c execution failures
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55504
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:19:24 UTC ---
Created attachment 28808
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28808
assembly file for gcc.c-torture/execute/20071018-1.c -O0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55505
Bug #: 55505
Summary: gcc.c-torture/execute/921202-1.c execution failures
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55505
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
01:26:23 UTC ---
Created attachment 28809
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28809
assembly file for gcc.c-torture/execute/921202-1.c -O0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55506
Bug #: 55506
Summary: gcc.dg/cleanup-{10,11,8,9}.c execution test failures
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55506
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
02:11:42 UTC ---
Created attachment 28810
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28810
assembly file for gcc.dg/cleanup-10.c -fsanitize=address
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55508
Bug #: 55508
Summary: many test cases fail using -fsanitize=address with
internal compiler error: in expand_call_tm
Classification: Unclassified
Product: gcc
Version:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55508
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
02:34:47 UTC ---
Also seen on x86_64 Fedora 15 where it appears in gdb as...
/home/howarth/gcc/gcc/testsuite/c-c++-common/tm/20100127.c: In function ‘test’:
/home
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55509
Bug #: 55509
Summary: gcc.dg/torture/matrix-6.c failures with
-fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55509
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
02:43:08 UTC ---
Created attachment 28813
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28813
assembly file for gcc.dg/torture/matrix-6.c -O1 -fsanitize
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
Bug #: 55518
Summary: boehm-gc, libatomic, libffi and libgomp testsuite
can't find path to libasan for make check with
-fsanitizer
Classification: Unclassified
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
16:48:55 UTC ---
This seems to be sufficient for libstc++-v3...
Index: libstdc++-v3/testsuite/lib/libstdc++.exp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Status|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
18:23:45 UTC ---
Considering that H.J. is working towards a --with-build-config=bootstrap-asan
option, it would seem wise to allow for testing the existing FSF gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55508
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
18:57:10 UTC ---
This failure in expand_call_tm, at trans-mem.c:2273 is also seen in the libitm
testsuite for...
FAIL: libitm.c/dropref-2.c (internal compiler
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
20:18:00 UTC ---
Jakub, I've reposted the current results on x86_64-apple-darwin12 for...
make -k check RUNTESTFLAGS=--target_board=unix'{-fsanitize=address
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
21:02:32 UTC ---
I meant many instances in a single g=+/libstdc++-v3 testsuite failure showing
mulitple instances of ASAN:SIGSEGV.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
Bug #: 55521
Summary: many instances of ASAN:SIGSEGV failures in g++
testsuite with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
21:47:41 UTC ---
Created attachment 28823
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28823
assembly file for failing g++.dg/eh/cond1.C -std=c++98
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
21:55:14 UTC ---
The majority of the libstdc+++-v3 testsuite failures seen with
-fsanitize=address appear to be of the same form. It is difficult to get
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
22:16:25 UTC ---
I don't see the g++.dg/eh/cond1.C execution failures on x86_64 Fedora 15 so
this may well be darwin specific. In gdb, on x86_64 darwin12
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-28
22:28:55 UTC ---
Debugging a similar build of cond1.exe on darwin12 without -fsanitize=address
show exactly the same trace except...
Single stepping until exit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-29
00:47:14 UTC ---
This problem doesn't occur with x86_64 Fedora 15 built with --disable-tls.
Also, using llvm 3.2's clang++ on x86_64-apple-darwin12, I can compile
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-29
21:25:07 UTC ---
Opened radr://12777299 so that the darwin linker maintainer could look at this
issue. His analysis of the failing test case so far
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-11-30
18:01:28 UTC ---
This issue is further analyzed and a potential fix to mach_override proposed in
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/056478
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-12-01
01:50:37 UTC ---
Note that fixing this by replacing mach_override with interpose will require
FSF gcc to be enhanced to provide the missing blocks support (which
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-12-01
21:37:10 UTC ---
Created attachment 28847
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28847
mockup patch for switching darwin to mac function interpose
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-12-01
21:42:41 UTC ---
(In reply to comment #10)
Created attachment 28847 [details]
mockup patch for switching darwin to mac function interpose
This patch
1 - 100 of 1110 matches
Mail list logo