<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gcc.git/fixincludes, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/'/>
<entry>
<title>Daily bump.</title>
<updated>2025-08-29T00:19:55+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2025-08-29T00:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=a15bdc66d2a03989d631366a509d05283f14a69f'/>
<id>a15bdc66d2a03989d631366a509d05283f14a69f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixincludes: Skip pthread_incomplete_struct_argument for modern glibc [PR118009]</title>
<updated>2025-08-28T16:48:03+00:00</updated>
<author>
<name>Jonathan Wakely</name>
<email>jwakely@redhat.com</email>
</author>
<published>2025-08-19T16:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=59db4ce2df1db33ad361eca06a7aec99b24d0d2f'/>
<id>59db4ce2df1db33ad361eca06a7aec99b24d0d2f</id>
<content type='text'>
The pthread_incomplete_struct_argument fix was intended for ancient
versions of Glibc (only 2.3.3 and 2.3.4, I believe). From Glibc 2.3.5
the pthread.h header already included the change to use a pointer
instead of an array, so the fixinclude was no longer used.

However, the https://sourceware.org/bugzilla/show_bug.cgi?id=26647 fix
changed the __setjmpbuf declaration to use struct __jmp_buf_tag __env[1]
again, which caused this fixinclude to start matching again. This means
that GCC now installs a "fixed" pthread.h with a change to a declaration
that guarded by #if ! __GNUC_PREREQ (11, 0), i.e. it's not even relevant
for modern versions of GCC. The "fixed" pthread.h causes problems for
users because of changes to internal implementation details of the
pthread_cond_t type, which require the "fixed" pthread.h to be updated
with mkheaders if Glibc is updated.

This change adds a bypass to the fixinclude, so that it no longer
matches modern Glibc versions, and only applies to glibc versions 2.3.3
and 2.3.4 as originally intended.

Also remove outdated reference to svn in the comment at the top of the
generated file.

fixincludes/ChangeLog:

	PR bootstrap/118009
	PR bootstrap/119089
	* inclhack.def (pthread_incomplete_struct_argument): Add bypass.
	* fixincl.tpl: Remove reference to svn in comment.
	* fixincl.x: Regenerate.

Reviewed-by: Jason Merrill &lt;jason@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pthread_incomplete_struct_argument fix was intended for ancient
versions of Glibc (only 2.3.3 and 2.3.4, I believe). From Glibc 2.3.5
the pthread.h header already included the change to use a pointer
instead of an array, so the fixinclude was no longer used.

However, the https://sourceware.org/bugzilla/show_bug.cgi?id=26647 fix
changed the __setjmpbuf declaration to use struct __jmp_buf_tag __env[1]
again, which caused this fixinclude to start matching again. This means
that GCC now installs a "fixed" pthread.h with a change to a declaration
that guarded by #if ! __GNUC_PREREQ (11, 0), i.e. it's not even relevant
for modern versions of GCC. The "fixed" pthread.h causes problems for
users because of changes to internal implementation details of the
pthread_cond_t type, which require the "fixed" pthread.h to be updated
with mkheaders if Glibc is updated.

This change adds a bypass to the fixinclude, so that it no longer
matches modern Glibc versions, and only applies to glibc versions 2.3.3
and 2.3.4 as originally intended.

Also remove outdated reference to svn in the comment at the top of the
generated file.

fixincludes/ChangeLog:

	PR bootstrap/118009
	PR bootstrap/119089
	* inclhack.def (pthread_incomplete_struct_argument): Add bypass.
	* fixincl.tpl: Remove reference to svn in comment.
	* fixincl.x: Regenerate.

Reviewed-by: Jason Merrill &lt;jason@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Daily bump.</title>
<updated>2025-08-16T00:19:12+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2025-08-16T00:19:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=5529a1d36f25ca244076cc1d59061b1443f471a5'/>
<id>5529a1d36f25ca244076cc1d59061b1443f471a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixincludes: skip stdio_va_list on modern darwin</title>
<updated>2025-08-15T15:34:35+00:00</updated>
<author>
<name>Francois-Xavier Coudert</name>
<email>fxcoudert@gcc.gnu.org</email>
</author>
<published>2025-08-15T15:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=e905d7ee2bd428a9a31a993053a8da926733fb61'/>
<id>e905d7ee2bd428a9a31a993053a8da926733fb61</id>
<content type='text'>
Complement to the previous commit in fixincludes
(b1f9ab40cbcc6ecd53a2be3e01052cee096e1a00), for the MacOSX12.3 SDK, it
is necessary to also bypass the stdio_va_list fix. The same bypass is
used, namely, the inclusion of &lt;_stdio.h&gt;.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_va_list): Skip on recent darwin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Complement to the previous commit in fixincludes
(b1f9ab40cbcc6ecd53a2be3e01052cee096e1a00), for the MacOSX12.3 SDK, it
is necessary to also bypass the stdio_va_list fix. The same bypass is
used, namely, the inclusion of &lt;_stdio.h&gt;.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_va_list): Skip on recent darwin.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixincludes: skip stdio_stdarg_h on modern darwin</title>
<updated>2025-08-15T06:54:29+00:00</updated>
<author>
<name>Francois-Xavier Coudert</name>
<email>fxcoudert@gcc.gnu.org</email>
</author>
<published>2025-06-13T15:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=b1f9ab40cbcc6ecd53a2be3e01052cee096e1a00'/>
<id>b1f9ab40cbcc6ecd53a2be3e01052cee096e1a00</id>
<content type='text'>
All macOS SDK since at least macOS 10.9, and until macOS 10.12
(included), feature these lines in &lt;stdio.h&gt;:

/* DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
 * __gnuc_va_list and include &lt;stdarg.h&gt; */

The clear intent (and effect) was to bypass gcc’s stdio_stdarg_h
fixinclude.

However, since macOS 10.13, these lines have been moved to &lt;_stdio.h&gt;,
which is itself included at the top of &lt;stdio.h&gt;. The unintended
consequence is that the stdio_stdarg_h fixinclude is now applied to
macOS &lt;stdio.h&gt;, where it is not needed. This useless fixinclude makes
the compiler more fragile and less portable.

A previous attempt to skip the stdio_stdarg_h fix entirely had to be
reverted, since it broken some very old macOS versions. The new fix is
to bypass the fix based on the detection of &lt;_stdio.h&gt; inclusion, which
is more robust.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_stdarg_h): Skip on darwin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All macOS SDK since at least macOS 10.9, and until macOS 10.12
(included), feature these lines in &lt;stdio.h&gt;:

/* DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
 * __gnuc_va_list and include &lt;stdarg.h&gt; */

The clear intent (and effect) was to bypass gcc’s stdio_stdarg_h
fixinclude.

However, since macOS 10.13, these lines have been moved to &lt;_stdio.h&gt;,
which is itself included at the top of &lt;stdio.h&gt;. The unintended
consequence is that the stdio_stdarg_h fixinclude is now applied to
macOS &lt;stdio.h&gt;, where it is not needed. This useless fixinclude makes
the compiler more fragile and less portable.

A previous attempt to skip the stdio_stdarg_h fix entirely had to be
reverted, since it broken some very old macOS versions. The new fix is
to bypass the fix based on the detection of &lt;_stdio.h&gt; inclusion, which
is more robust.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_stdarg_h): Skip on darwin.
</pre>
</div>
</content>
</entry>
<entry>
<title>Daily bump.</title>
<updated>2024-07-12T00:17:52+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2024-07-12T00:17:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=88ff0504ab3286df57e27514065494a30c365ec5'/>
<id>88ff0504ab3286df57e27514065494a30c365ec5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "fixincludes: skip stdio_stdarg_h on darwin"</title>
<updated>2024-07-11T07:46:26+00:00</updated>
<author>
<name>Iain Sandoe</name>
<email>iain@sandoe.co.uk</email>
</author>
<published>2024-07-11T06:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=619f587f6852517889c216d4eb63728e9b062032'/>
<id>619f587f6852517889c216d4eb63728e9b062032</id>
<content type='text'>
This reverts commit 7d454cae9d7df1f2936ad02d0742674a85396736.

The change breaks bootstrap on some x86_64 OS versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7d454cae9d7df1f2936ad02d0742674a85396736.

The change breaks bootstrap on some x86_64 OS versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Daily bump.</title>
<updated>2024-07-11T00:17:33+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2024-07-11T00:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=f777ab31e55cd122bbb603bba7ba0c0c5ef56481'/>
<id>f777ab31e55cd122bbb603bba7ba0c0c5ef56481</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixincludes: skip stdio_stdarg_h on darwin</title>
<updated>2024-07-10T15:57:30+00:00</updated>
<author>
<name>Francois-Xavier Coudert</name>
<email>fxcoudert@gcc.gnu.org</email>
</author>
<published>2024-07-10T15:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=7d454cae9d7df1f2936ad02d0742674a85396736'/>
<id>7d454cae9d7df1f2936ad02d0742674a85396736</id>
<content type='text'>
The fix is unnecessary on macOS.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_stdarg_h): Skip on darwin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix is unnecessary on macOS.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_stdarg_h): Skip on darwin.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixincludes: add bypass to darwin_objc_runtime_1</title>
<updated>2024-07-10T14:55:55+00:00</updated>
<author>
<name>Francois-Xavier Coudert</name>
<email>fxcoudert@gcc.gnu.org</email>
</author>
<published>2024-07-10T12:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=8326956159053b215b5cfe6cd41bfceff413491e'/>
<id>8326956159053b215b5cfe6cd41bfceff413491e</id>
<content type='text'>
Headers are now fixed in the macOS 15 SDK, and the fix should be
bypassed there.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (darwin_objc_runtime_1): Add bypass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Headers are now fixed in the macOS 15 SDK, and the fix should be
bypassed there.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (darwin_objc_runtime_1): Add bypass.
</pre>
</div>
</content>
</entry>
</feed>
