This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiler standards (and/or min gcc version) supported with installedheaders ?


On 12/30/2012 02:22 AM, Mike Frysinger wrote:
On Saturday 29 December 2012 10:37:55 Joseph S. Myers wrote:
On Fri, 28 Dec 2012, Mike Frysinger wrote:
seems like something we should have spelled out in the manual and/or faq.
what standards do we want to support with installed headers ?  and
similarly, what min gcc version ?

Practically, GCC versions before 2.7.2.3 are fairly irrelevant because they didn't support glibc 2.x with the Linux kernel (or GNU Hurd) - and for architecture-specific headers, the minimum versions may be newer on similar grounds. Some headers however may be shared with gnulib, where older compilers may be relevant.

I have suggested (in the projects list
<http://sourceware.org/glibc/wiki/Development_Todo/Master> - note that the
ideas listed there are not necessarily fully formed project suggestions
and may not all have consensus) that __GLIBC_HAVE_LONG_LONG should be
removed - that support for "long long" should be considered a required
feature for use of the installed headers.

gcc-2.95.3 is the oldest version i care about. and it supports long long.

With us moving to require Linux 2.6.16 as oldest release (which is from 2006), we should be able to require a newer GCC version as well.


We do have to take care that we support other compilers - besides GCC - as well and that our removal of support for older GCC in installed headers does not break other compilers. But since no other compiler vendor is involved here and were few of us have access to other compilers, we might need to fix up headers after we receive bug reports.

Btw. GCC 4.1 was released around the same time as Linux 2.6.16 in early 2006.

Andreas
--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]