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
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=54457
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
CC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Status|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54255
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-26
20:18:05 UTC ---
Posted a general fix for all older assembler that lack -masm=intel support...
http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02448.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
13:00:47 UTC ---
I can't debug Comment 6 in Xcode 3.1.4's gdb on powerpc-apple-darwin9. When I
try to load the compiler into gdb, I get the error...
.gdbinit:12
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
13:14:20 UTC ---
Created attachment 28529
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28529
preprocessed source for libbacktrace/backtrace.c on powerpc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
13:15:39 UTC ---
Created attachment 28530
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28530
config.log from libbacktrace subdirectory on powerpc-apple
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #12 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
13:33:33 UTC ---
The diff between the preprocessed source of backtrace.c on gcc 4.0.1 and 4.2.1
is...
--- backtrace.i2012-10-25 09:31:46.0 -0400
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #13 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
13:47:21 UTC ---
% grep Unwind_GetIPInfo
/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h
% extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #14 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
14:11:38 UTC ---
Can we enhance the section in config/unwind_ipinfo.m4...
# Darwin before version 9 does not have _Unwind_GetIPInfo.
changequote
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #15 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
15:05:18 UTC ---
It unclear how to recraft the test. Adding...
--- unwind_ipinfo.m4.orig2012-10-25 10:30:59.0 -0400
+++ unwind_ipinfo.m42012-10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55063
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
17:40:26 UTC ---
Interestingly, on x86_64 Fedora 15, I don't see repeated instances of
AT_location but instead...
22b72: Abbrev Number: 78 (DW_TAG_class_type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #18 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
17:56:54 UTC ---
(In reply to comment #17)
Are you sure? I see...
if test -n ${with_target_subdir}; then
GCC_CHECK_UNWIND_GETIPINFO
else
AC_CHECK_FUNC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #20 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
19:38:07 UTC ---
This testcase should work for powerpc-apple-darwin9...
#include unwind.h
int
main
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #21 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
19:57:29 UTC ---
FYI the test in Comment 20 passes for llvm-gcc-4.2 and clang in Xcode 4.5.1 but
only for gcc-4.2 and llvm-gcc-4.2 in Xcode 4.2. The clang in Xcode
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #22 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
22:34:38 UTC ---
Created attachment 28532
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28532
proposed patch to check for _Unwind_GetIPInfo function
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #23 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
23:08:50 UTC ---
(In reply to comment #22)
Created attachment 28532 [details]
proposed patch to check for _Unwind_GetIPInfo function declaration
Patch tested
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #25 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-26
03:30:44 UTC ---
Patch posted at http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02362.html.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Bug #: 55061
Summary: libbacktrace build fails during bootstrap on
powerpc-apple-darwin9
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
17:52:30 UTC ---
Xcode 3.1.4
Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
BuildVersion: 9M2809
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
17:54:48 UTC ---
Created attachment 28521
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28521
preprocessed source for libbacktrace/dwarf.c on powerpc-apple
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
17:55:34 UTC ---
Created attachment 28522
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28522
assembly file for libbacktrace/dwarf.c on powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
18:30:21 UTC ---
The testcase fails with the system compiler on powerpc-apple-darwin9, which
is...
gcc version 4.0.1 (Apple Inc. build 5493)
with the same
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
Bug #: 55062
Summary: bootstrap fails on gcc/config/rs6000/rs6000.c for
powerpc-apple-darwin9 using gcc-4.2/g++-4.2
Classification: Unclassified
Product: gcc
Version:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
19:20:52 UTC ---
Created attachment 28523
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28523
bzip2 compressed archive of preprocessed source file for
gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
19:21:35 UTC ---
Created attachment 28524
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28524
bzip2 compressed archive of assembly file for gcc/config/rs6000
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
19:24:13 UTC ---
../gcc-4.8-20121024/configure --prefix=/sw --prefix=/sw/lib/gcc4.8
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.8/info
--enable-languages=c,c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55063
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
19:52:07 UTC ---
Also seen on x86_64-apple-darwin12 with Xcode 4.5.1. Note that is actually is
an error from the dsymutil run on the executable.
dsymutil
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55063
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
20:06:12 UTC ---
A 'dwarfdump -a' of the malformed static.o shows the error is at...
[ 74] TAG_class_typeDW_CHILDREN_yes
AT_name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55063
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-24
20:12:03 UTC ---
Also seen as...
0x45d5: TAG_class_type [74] *
AT_name( ios_base )
AT_declaration( 0x01
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Status|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
03:12:11 UTC ---
This issue appears to have been fixed with the commit of...
Author: singhai
Date: Wed Oct 24 23:09:30 2012
New Revision: 192788
URL: http
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55062
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-25
04:59:09 UTC ---
The bootstrap failure with gcc-4.2/g++-4.2 is shifted later in the build...
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/./prev-gcc/g++
-B
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-20
17:11:16 UTC ---
(In reply to comment #1)
The failure is caused by higher register pressure in the THEN branch of the
case, though I am not sure why the register
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-20
17:39:45 UTC ---
(In reply to comment #1)
i can confirm that the proposed simplification of the test cases eliminates the
failures of hoist-register-pressure.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989
Bug #: 54989
Summary: FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump
hoist PRE/HOIST: end of bb .* copying expression on
darwin
Classification: Unclassified
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-17
21:04:36 UTC ---
These are not failing with Xcode 4.2 on darwin10 but are with Xcode 4.5.1 on
darwin12 as follows...
Executing on host:
/sw/src/fink.build/gcc48
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-17
21:17:41 UTC ---
The failure for objc.dg/strings/const-cfstring-5.m on darwin12 is as follows...
Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-17
23:06:33 UTC ---
(In reply to comment #5)
I don't see these errors on darwin10. Could you look at the errors in the log
files and try to sort them
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #9 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-17
23:15:28 UTC ---
Note the the string1.m/string1.mm failures are from warnings and the resulting
binaries run fine.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-17
23:58:36 UTC ---
(In reply to comment #9)
Note the the string1.m/string1.mm failures are from warnings and the resulting
binaries run fine.
These linker
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-18
00:15:58 UTC ---
The darwin12 specific non-linker failures are suppressed if...
-isysroot `xcode-select
--print-path`/Platforms/MacOSX.platform/Developer/SDKs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #12 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-18
00:23:55 UTC ---
Created attachment 28470
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28470
preprocessed source for const-str-10.m against 10.7 SDK
/sw
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #13 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-18
00:25:15 UTC ---
Created attachment 28471
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28471
preprocessed source for const-str-10.m against 10.8 SDK
/sw/src
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #14 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-18
00:29:40 UTC ---
Created attachment 28472
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28472
diff of preprocessed sources for const-str-10.m against 10.7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-16
15:50:45 UTC ---
Note that the fix in comment 9 for libgomp/testsuite/libgomp.c++/pr24455.C
works for Xcode 3.2.6 and earlier on darwin10 but not Xcode 4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54423
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
CC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-15
14:07:26 UTC ---
At r192457 on x86_64-apple-darwin12, I am still seeing the failures in tls.exp
due to the absence of ASM_OUTPUT_DEF support on darwin. Any chance
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #9 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-15
14:24:00 UTC ---
(In reply to comment #7)
(In reply to comment #5)
Undefined symbols:
TLS init function for i, referenced from:
TLS wrapper
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
CC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #7 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
20:14:01 UTC ---
(In reply to comment #6)
The patch in comment 4 with...
make -k check
RUNTESTFLAGS=conformance.exp=30_threads/condition_variable/54185
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54404
--- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
20:28:54 UTC ---
(In reply to comment #3)
Also confirmed on x86_64-apple-darwin12 that this eliminates the failures in
obj-c++.dg/strings/const-cfstring-2.mm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #9 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
20:53:56 UTC ---
(In reply to comment #8)
The dg-compile line oddly seems to suppress the running of the compiled
test. ...
What happens if you replace
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
21:12:20 UTC ---
I think you need to use...
// { dg-xfail-if broken pthreads before darwin10 { *-*-darwin9* *-*-darwin10*
} { * } { } }
instead of dg-do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
21:13:18 UTC ---
The comment should be corrected to broken pthreads before darwin11.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #13 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
21:22:48 UTC ---
I would rather we use...
Index: libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407
--- Comment #15 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-14
22:17:07 UTC ---
I still don't see the point of testing the compilation of a test which doesn't
execute properly. I also suspect resorting to a non-standard
Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
CC||howarth at nitro dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
Bug #: 54908
Summary: misc regressions on emutls targets remain from dynamic
initialization of non-function-local TLS variables
Classification: Unclassified
Product: gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-12
13:21:27 UTC ---
I don't know if this is too strict for non-emutls targets but on
x86_64-apple-darwin12, adding...
// { dg-require-effective-target tls_native
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-12
15:44:24 UTC ---
Created attachment 28433
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28433
patch to suppress dynamic initialization of non-function-local
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-12
15:48:47 UTC ---
The patch in comment 2 suppresses the failures on x86_64-apple-darwin12. Note
that I had to move dg-run to the top of
gcc/testsuite/g++.dg/tls
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54914
Bug #: 54914
Summary: gcc.dg/graphite/pr42521.c regressed in gcc trunk
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54914
Jack Howarth howarth at nitro dot med.uc.edu changed:
What|Removed |Added
Target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54914
--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-12
17:36:44 UTC ---
The backtrace in gdb is...
(gdb) r -quiet -v -imultilib i386 -iprefix
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/../lib/gcc/x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54886
--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-12
20:04:05 UTC ---
Is r192219 the exact commit causing this regression?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #27 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
13:47:32 UTC ---
The unistd.h header on darwin12 defines...
#define _POSIX_TIMERS (-1)/* [TMR] */
From the documentation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #28 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
14:02:46 UTC ---
It seems like there is only two possible patches here using the existing
infrastructure in acinclude.m4 that would allow darwin's nanosleep
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #31 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
15:14:19 UTC ---
(In reply to comment #30)
Can we take a step back and determine what exactly this PR is about? Several
of the comments make incorrect
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #32 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
15:31:30 UTC ---
Would something simple like...
Index: acinclude.m4
===
--- acinclude.m4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #35 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
16:31:11 UTC ---
(In reply to comment #33)
The problem isn't finding nanosleep, it's finding what version of POSIX or
X/Open or SUS is supported, so we know
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #36 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
16:44:53 UTC ---
(In reply to comment #33)
So is _GLIBCXX_USE_SCHED_YIELD defined on darwin?
Yes, passing --enable-libstdcxx-time=yes and allowing nanosleep
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #38 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
17:03:39 UTC ---
I assume the option of using...
Index: libstdc++-v3/config/os/bsd/darwin/os_defines.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #43 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
20:31:01 UTC ---
Both OpenBSD and FreeBSD seem to have nanosleep calls documented as...
The nanosleep() function conforms to IEEE Std 1003.1b-1993 (``POSIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #45 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08
22:27:08 UTC ---
I can confirm the existence of sched_yield() back to Libc-166 in 1997 on
darwin.
http://opensource.apple.com/source/Libc/Libc-166
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #46 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-09
00:46:08 UTC ---
Revised patch posted to libstdc++ mailing list...
http://gcc.gnu.org/ml/libstdc++/2012-10/msg00047.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
Bug #: 54847
Summary: --enable-libstdcxx-time=yes non-functional on darwin
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
18:50:09 UTC ---
As far as I can see the only usage of nanosleep() in libstdc++-v3 is in this
section of the include/std/thread header...
#ifdef
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #6 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
18:53:53 UTC ---
Also, for Jeremy's benefit (since he can't look at the sources), the current
configure test is...
#include unistd.h
#include time.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
19:22:28 UTC ---
(In reply to comment #7)
Yeah, Jack... your copying them and pasting them here just makes it easier for
me to accidentally read them. Please
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #10 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
19:43:25 UTC ---
(In reply to comment #9)
I can certainly participate. I just need to make sure that I don't read any
code snippets that are GPL3 licensed
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
20:10:33 UTC ---
The manual change applied to configure works and the build ends up with...
#define _GLIBCXX_USE_NANOSLEEP 1
...in include/x86_64-apple
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #12 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
22:17:15 UTC ---
Proposed patch in Comment 11 shows no regressions in the libstdc+-v3 test suite
on x86_64-apple-darwin12...
Native configuration is x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #13 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-07
22:29:17 UTC ---
Patch posted at http://gcc.gnu.org/ml/gcc-patches/2012-10/msg00696.html.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806
--- Comment #14 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-06
17:00:17 UTC ---
Interestingly Macports' libgomp shows the same expected emutls related symbols
as fink...
% nm libgomp.1.dylib | grep emutls
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806
--- Comment #15 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-06
17:26:51 UTC ---
I believe your no-runtime-stubs.patch used during the initial build of
libstdc++ is at fault...
--- gcc/config/darwin.h.orig2012-09-13 20
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806
--- Comment #17 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-06
19:26:49 UTC ---
(In reply to comment #16)
These changes will certainly keep config.h in the libstdc++-v3 build
directory
from having...
#define
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806
--- Comment #19 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-06
20:56:44 UTC ---
(In reply to comment #18)
Note that the libgcc_ext.10.[45] are not actually needed if we're going to be
using the libgcc runtime
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806
--- Comment #20 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-06
21:06:45 UTC ---
Also, you might want to look at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39888 which shows the thought
process and issues that arose during
301 - 400 of 1110 matches
Mail list logo