[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-19 Thread marcus at mc dot pp.se
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #6 from Marcus Comstedt  2011-05-19 
10:12:29 UTC ---
Ok.  I'm afraid you might be right about breakage in objcopy with the patch; I
tried strip and the resulting binary had incorrect file size for PT_TLS.  :-( 
Although here I blame the rather dubious calulcation of file size for non-load
segments, which indeed is the only reason why .tbss needs to go into a load
segment in the first place:  Since .tbss (or any SHT_NOBITS section for that
matter) does not actually exist in the file, nothing ought to rely on it having
a filepos...

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-19 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #7 from H.J. Lu  2011-05-19 13:45:05 
UTC ---
(In reply to comment #3)
> @Nick:
> Thank you for looking at this.  My test case is the following program:
> 
> static __thread char baz=17;
> static __thread char foo[1024] __attribute__((aligned(1024)));
> int main() { return 0; }
> 
> Compiling this (without optimization) yields:
> 

It works fine on Linux/x86.  What is your target?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-19 Thread marcus at mc dot pp.se
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #8 from Marcus Comstedt  2011-05-19 
13:52:19 UTC ---
The target in my case is PS3/powerpc64.  I can provide the linker script if
necessary.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-19 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #9 from H.J. Lu  2011-05-19 14:18:46 
UTC ---
(In reply to comment #8)
> The target in my case is PS3/powerpc64.  I can provide the linker script if
> necessary.

Do you have a testcase for Linux/x86?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-19 Thread marcus at mc dot pp.se
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #10 from Marcus Comstedt  2011-05-19 
14:35:29 UTC ---
No, I don't have Linux/x86 at all.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12730] [regression] crash when allocating in a static constructor

2011-05-19 Thread eugen.d...@pu-pm.univ-fcomte.fr
http://sourceware.org/bugzilla/show_bug.cgi?id=12730

--- Comment #10 from Eugen Dedu  2011-05-19 
14:51:25 UTC ---
(In reply to comment #9)
> (In reply to comment #7)
> > Created attachment 5728 [details]
> > Test program to demonstrate allocate crash
> 
> I don't think it is a linker problem.  Please report it to GCC.

For info, the new bug report is found at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49037.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12779] *** glibc detected *** /usr/bin/ld: free(): invalid size: 0x0ea8ac18 ***

2011-05-19 Thread orion at cora dot nwra.com
http://sourceware.org/bugzilla/show_bug.cgi?id=12779

Orion Poplawski  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED

--- Comment #11 from Orion Poplawski  2011-05-19 
15:34:12 UTC ---
Apparently a glibc bug - fixed with 2.13.90-13 in Fedora Rawhide

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils