public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces.
@ 2012-05-06 23:48 carlos_odonell at mentor dot com
  2012-05-07 10:23 ` [Bug libc/14068] " joseph at codesourcery dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-06 23:48 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14068

             Bug #: 14068
           Summary: Split top-level config.h.in into machine dependent and
                    machine independent pieces.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: carlos_odonell@mentor.com
        ReportedBy: carlos_odonell@mentor.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


At present the glibc sources have one top-level config.h.in file.

The config.h.in file contains several definitions for x86, x86_64, Power, and
ARM.

Logically speaking this file should contain only machine independent
definitions.

Instead each machine should have a config.h.in fragment that is aggregated
together with the top-level config.h.in to produce a final config.h.

At present each machine needs to add defines to the top-level config.h.in.

-- 
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] 7+ messages in thread

* [Bug libc/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
@ 2012-05-07 10:23 ` joseph at codesourcery dot com
  2012-05-07 20:04 ` roland at gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: joseph at codesourcery dot com @ 2012-05-07 10:23 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14068

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-05-07 10:23:05 UTC ---
On Sun, 6 May 2012, carlos_odonell at mentor dot com wrote:

> The config.h.in file contains several definitions for x86, x86_64, Power, and
> ARM.

And SPARC (HAVE_AS_VIS3_SUPPORT, HAVE_GCC_GOTDATA).  And Linux-specific 
(__LINUX_KERNEL_VERSION).  And some Mach-specific defines 
(HAVE_HOST_PAGE_SIZE, HAVE_I386_IO_PERM_MODIFY, HAVE_I386_SET_GDT, 
HAVE_MIG_RETCODE - the last of these isn't used anywhere and for the 
middle two, only used in sysdeps/mach/hurd/i386/, I'd have thought glibc 
could just require the preferred answer to the test rather than 
conditioning things).  And one of the Power defines (BROKEN_PPC_ASM_CR0) 
actually has its configure test directly in the toplevel configure.in.

-- 
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] 7+ messages in thread

* [Bug libc/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
  2012-05-07 10:23 ` [Bug libc/14068] " joseph at codesourcery dot com
@ 2012-05-07 20:04 ` roland at gnu dot org
  2012-05-07 20:13 ` carlos_odonell at mentor dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: roland at gnu dot org @ 2012-05-07 20:04 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14068

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roland at gnu dot org

-- 
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] 7+ messages in thread

* [Bug libc/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
  2012-05-07 10:23 ` [Bug libc/14068] " joseph at codesourcery dot com
  2012-05-07 20:04 ` roland at gnu dot org
@ 2012-05-07 20:13 ` carlos_odonell at mentor dot com
  2012-12-03 23:52 ` carlos at systemhalted dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-07 20:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14068

--- Comment #2 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-07 20:12:51 UTC ---
As always we should look to see if any of these checks are still valid.

For example we could use `-ansi' instead of `-undef' in the implicit rule to
allow HAVE_ARM_PCS_VFP to go away and become simply %ifdef __ARM_PCS_VFP in
ARM's shlib-versions.

-- 
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] 7+ messages in thread

* [Bug libc/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
                   ` (2 preceding siblings ...)
  2012-05-07 20:13 ` carlos_odonell at mentor dot com
@ 2012-12-03 23:52 ` carlos at systemhalted dot org
  2014-06-25 11:06 ` fweimer at redhat dot com
  2015-08-27 22:08 ` [Bug build/14068] " jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: carlos at systemhalted dot org @ 2012-12-03 23:52 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14068

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at systemhalted dot
                   |                            |org
         AssignedTo|carlos_odonell at mentor    |carlos at systemhalted dot
                   |dot com                     |org

-- 
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] 7+ messages in thread

* [Bug libc/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
                   ` (3 preceding siblings ...)
  2012-12-03 23:52 ` carlos at systemhalted dot org
@ 2014-06-25 11:06 ` fweimer at redhat dot com
  2015-08-27 22:08 ` [Bug build/14068] " jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-25 11:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14068

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14068] Split top-level config.h.in into machine dependent and machine independent pieces.
  2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
                   ` (4 preceding siblings ...)
  2014-06-25 11:06 ` fweimer at redhat dot com
@ 2015-08-27 22:08 ` jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:08 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14068

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |build

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-27 22:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-06 23:48 [Bug libc/14068] New: Split top-level config.h.in into machine dependent and machine independent pieces carlos_odonell at mentor dot com
2012-05-07 10:23 ` [Bug libc/14068] " joseph at codesourcery dot com
2012-05-07 20:04 ` roland at gnu dot org
2012-05-07 20:13 ` carlos_odonell at mentor dot com
2012-12-03 23:52 ` carlos at systemhalted dot org
2014-06-25 11:06 ` fweimer at redhat dot com
2015-08-27 22:08 ` [Bug build/14068] " 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).