[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-18 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #16 from Rainer Orth ro at gcc dot gnu.org 2011-07-18 12:09:22 UTC --- Author: ro Date: Mon Jul 18 12:09:18 2011 New Revision: 176393 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=176393 Log: PR target/49541 *

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-18 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #17 from Rainer Orth ro at gcc dot gnu.org 2011-07-18 12:10:39 UTC --- Author: ro Date: Mon Jul 18 12:10:34 2011 New Revision: 176394 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=176394 Log: PR target/49541 *

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-18 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-15 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #12 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-15 09:31:05 UTC --- Here's the libgomp testsuite part of the patch. It should apply to both mainline and 4.6 branch. I've lightly tested the approach by checking one of

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-15 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #11 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-15 09:30:09 UTC --- Here's the 4.6 backport of the sol2.h patch. Could you please give it a try on Solaris 8 on bare metal? I've bootstrapped it without regressions on

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-15 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #13 from Rainer Orth ro at gcc dot gnu.org 2011-07-15 09:39:43 UTC --- Author: ro Date: Fri Jul 15 09:39:41 2011 New Revision: 176309 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=176309 Log: Backport from mainline:

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-15 12:01:02 UTC --- The problem is that the testsuite (lib/libgomp.exp) unconditionally links with -lgomp even for the -fno-openmp testcases.

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-15 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-14 17:08:09 UTC --- Same here, but the link line starts with: /nile.build/botcazou/gcc-head/sparc-sun-solaris2.8/gcc/collect2 -V -Y

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #9 from Rainer Orth ro at gcc dot gnu.org 2011-07-14 17:37:43 UTC --- Created attachment 24755 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24755 proposed 4.6 patch Here's the 4.6 backport of the sol2.h patch. Could you please

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #10 from Rainer Orth ro at gcc dot gnu.org 2011-07-14 17:40:06 UTC --- Created attachment 24757 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24757 proposed libgomp testsuite patch Here's the libgomp testsuite part of the patch.

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-13 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #4 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-13 16:11:25 UTC --- Since I could only run the bootstrap on a Solaris 8 branded zone where the default libthread.so is a copy of the lwp one, could you try it on bare metal

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-13 17:56:26 UTC --- --- Comment #4 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-13 16:11:25 UTC --- Since I could only run the

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-13 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #6 from Rainer Orth ro at gcc dot gnu.org 2011-07-13 17:58:20 UTC --- Author: ro Date: Wed Jul 13 17:58:18 2011 New Revision: 176244 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=176244 Log: PR target/49541 *

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #7 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-13 19:34:48 UTC --- This is strange: in my case, libgomp.so is self-contained and linked with the right libthread.so which provides __tls_get_addr: LD_LIBRARY_PATH=. ldd

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-06 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC||ro at gcc dot

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-07-06 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-06 14:06:59 UTC --- --- Comment #1 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-07-06 08:52:17 UTC --- Rainer, any idea to solve this?

[Bug target/49541] [4.6/4.7 regression] TLS support partially broken in 64-bit mode

2011-06-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49541 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.2