public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
@ 2007-05-14 18:18 eggert at gnu dot org
2007-05-14 18:18 ` [Bug libc/4507] " eggert at gnu dot org
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: eggert at gnu dot org @ 2007-05-14 18:18 UTC (permalink / raw)
To: glibc-bugs
An old bug-glibc message for glibc 2.3.1
<http://lists.gnu.org/archive/html/bug-glibc/2003-01/msg00016.html> seemingly
didn't get followed up on. Simon Poole reported a similar problem for a
crosstool build; see <http://sourceware.org/ml/crossgcc/2004-11/msg00013.html>.
The problem is that an __asm__ generates code containing the symbol __i686, but
some preprocessor/compiler combinations automatically #define __i686 to 1, which
messes up the generated code.
On 2004-05-17 a similar problem was fixed in
sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h by renaming the affected symbol;
see
<http://cvs.savannah.gnu.org/viewvc/libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h?root=libc&r1=1.13&r2=1.14>.
I'll attach a similar (but untested) patch for
sysdeps/unix/sysv/linux/i386/sysdep.h.
--
Summary: sysv/linux/i386/sysdep.h problems with asm-preproc that
define __i686
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: eggert at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
@ 2007-05-14 18:18 ` eggert at gnu dot org
2007-05-14 19:02 ` drepper at redhat dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: eggert at gnu dot org @ 2007-05-14 18:18 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From eggert at gnu dot org 2007-05-14 19:18 -------
Created an attachment (id=1838)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1838&action=view)
patch for __i686 problem in sysdeps.h
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
2007-05-14 18:18 ` [Bug libc/4507] " eggert at gnu dot org
@ 2007-05-14 19:02 ` drepper at redhat dot com
2007-05-15 13:39 ` eggert at gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: drepper at redhat dot com @ 2007-05-14 19:02 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-05-14 19:41 -------
I have told people several times: __i686.get_pc_thunk.cx is the name of the
section gcc uses. There is no changing this here.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
2007-05-14 18:18 ` [Bug libc/4507] " eggert at gnu dot org
2007-05-14 19:02 ` drepper at redhat dot com
@ 2007-05-15 13:39 ` eggert at gnu dot org
2007-05-15 13:41 ` eggert at gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: eggert at gnu dot org @ 2007-05-15 13:39 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From eggert at gnu dot org 2007-05-15 14:38 -------
Created an attachment (id=1839)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1839&action=view)
revised __i686 patch, which simply undefs the symbol
OK, thanks, I didn't know the symbol couldn't be changed. In that case, Wolf's
original patch seems apropos and I have attached it, replacing the incorrect
patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1838 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (2 preceding siblings ...)
2007-05-15 13:39 ` eggert at gnu dot org
@ 2007-05-15 13:41 ` eggert at gnu dot org
2007-11-08 0:00 ` drepper at redhat dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: eggert at gnu dot org @ 2007-05-15 13:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From eggert at gnu dot org 2007-05-15 14:41 -------
Created an attachment (id=1840)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1840&action=view)
revised __i686 patch, which simply undefs the symbol
Fix misspelling in comment.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1839 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (3 preceding siblings ...)
2007-05-15 13:41 ` eggert at gnu dot org
@ 2007-11-08 0:00 ` drepper at redhat dot com
2007-12-10 1:01 ` vapier at gentoo dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: drepper at redhat dot com @ 2007-11-08 0:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-11-08 00:00 -------
*** Bug 5283 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |wbrana at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (4 preceding siblings ...)
2007-11-08 0:00 ` drepper at redhat dot com
@ 2007-12-10 1:01 ` vapier at gentoo dot org
2007-12-19 20:25 ` wbrana at gmail dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2007-12-10 1:01 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From vapier at gentoo dot org 2007-12-10 01:01 -------
this isnt a linux-specific issue is it ? in other words, shouldnt the change be
done in sysdeps/i386/sysdep.h ?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |toolchain at gentoo dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (5 preceding siblings ...)
2007-12-10 1:01 ` vapier at gentoo dot org
@ 2007-12-19 20:25 ` wbrana at gmail dot com
2008-08-10 15:07 ` wbrana at gmail dot com
2009-12-21 5:05 ` divided dot mind at gmail dot com
8 siblings, 0 replies; 11+ messages in thread
From: wbrana at gmail dot com @ 2007-12-19 20:25 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From wbrana at gmail dot com 2007-12-19 20:25 -------
Created an attachment (id=2151)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2151&action=view)
patch for x86_64
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (6 preceding siblings ...)
2007-12-19 20:25 ` wbrana at gmail dot com
@ 2008-08-10 15:07 ` wbrana at gmail dot com
2009-12-21 5:05 ` divided dot mind at gmail dot com
8 siblings, 0 replies; 11+ messages in thread
From: wbrana at gmail dot com @ 2008-08-10 15:07 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From wbrana at gmail dot com 2008-08-10 15:06 -------
Created an attachment (id=2899)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2899&action=view)
patch for glibc 2.8
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
` (7 preceding siblings ...)
2008-08-10 15:07 ` wbrana at gmail dot com
@ 2009-12-21 5:05 ` divided dot mind at gmail dot com
8 siblings, 0 replies; 11+ messages in thread
From: divided dot mind at gmail dot com @ 2009-12-21 5:05 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From divided dot mind at gmail dot com 2009-12-21 05:05 -------
Still broken as of f01c2359ebd4ed130ea0bfa67b59db896cb55cd5. Patch in attachment
1840 fixes the problem.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/4507] sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686
[not found] <bug-4507-131@http.sourceware.org/bugzilla/>
@ 2012-02-18 0:19 ` jsm28 at gcc dot gnu.org
0 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-18 0:19 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=4507
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #10 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-18 00:16:39 UTC ---
This was fixed as bug 411.
*** This bug has been marked as a duplicate of bug 411 ***
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-02-18 0:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-14 18:18 [Bug libc/4507] New: sysv/linux/i386/sysdep.h problems with asm-preproc that define __i686 eggert at gnu dot org
2007-05-14 18:18 ` [Bug libc/4507] " eggert at gnu dot org
2007-05-14 19:02 ` drepper at redhat dot com
2007-05-15 13:39 ` eggert at gnu dot org
2007-05-15 13:41 ` eggert at gnu dot org
2007-11-08 0:00 ` drepper at redhat dot com
2007-12-10 1:01 ` vapier at gentoo dot org
2007-12-19 20:25 ` wbrana at gmail dot com
2008-08-10 15:07 ` wbrana at gmail dot com
2009-12-21 5:05 ` divided dot mind at gmail dot com
[not found] <bug-4507-131@http.sourceware.org/bugzilla/>
2012-02-18 0:19 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).