public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: 4.6.2-1
Date: Mon, 29 Jun 2026 12:25:10 GMT	[thread overview]
Message-ID: <178273591064.1.9425964252834961775.rpms-gcc-7750bc9d3c60@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 7750bc9d3c60e63072878616a6ba7e933706efc6
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2011-10-27T14:48:18+02:00
Stats  : +25/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/7750bc9d3c60e63072878616a6ba7e933706efc6?branch=rhel-f41-base

Log:
4.6.2-1

---
diff --git a/gcc.spec b/gcc.spec
index 0cb2bc3..f2b9d4f 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -169,6 +169,7 @@ Patch15: gcc46-libstdc++-docs.patch
 Patch17: gcc46-no-add-needed.patch
 Patch18: gcc46-ppl-0.10.patch
 Patch19: gcc46-pr47858.patch
+Patch20: gcc46-libjava-prims-ctype.patch
 
 Patch1000: fastjar-0.97-segfault.patch
 Patch1001: fastjar-0.97-len1.patch
@@ -640,6 +641,7 @@ package or when debugging this package.
 %patch18 -p0 -b .ppl-0.10~
 %endif
 %patch19 -p0 -b .pr47858~
+%patch20 -p0 -b .libjava-prims-ctype~
 
 %if 0%{?_enable_debug_packages}
 cat > split-debuginfo.sh <<\EOF
@@ -2483,6 +2485,7 @@ fi
 - add armv7hl configury options (#746843)
 - add `gcc -print-file-name=rpmver` file with gcc NVRA for plugins
   (#744922)
+- fix build against current glibc, ctype.h changes broke libjava compilation
 
 * Mon Oct  2 2011 Jakub Jelinek <jakub@redhat.com> 4.6.1-10
 - update from the 4.6 branch

diff --git a/gcc46-libjava-prims-ctype.patch b/gcc46-libjava-prims-ctype.patch
new file mode 100644
index 0000000..027e1e7
--- /dev/null
+++ b/gcc46-libjava-prims-ctype.patch
@@ -0,0 +1,22 @@
+2011-10-27  Jakub Jelinek  <jakub@redhat.com>
+
+	* prims.cc (__NO_CTYPE): For glibc define this before including
+	ctype.h.
+
+--- libjava/prims.cc	2009-04-28 06:02:30.000000000 +0200
++++ libjava/prims.cc	2011-10-27 12:57:42.748752380 +0200
+@@ -38,6 +38,14 @@ details.  */
+ #endif
+ 
+ #ifndef DISABLE_GETENV_PROPERTIES
++#ifdef __GLIBC__
++/* glibc 2.15+ provides even for C++ inline optimized ::isspace etc.
++   Unfortunately those inlines are throw (), and call a function pointer
++   (which is throw () too, but with -fnon-call-exceptions this results
++   in a __cxa_call_unexpected call.  This macro disables the optimized
++   version.  */
++#define __NO_CTYPE 1
++#endif
+ #include <ctype.h>
+ #include <java-props.h>
+ #define PROCESS_GCJ_PROPERTIES process_gcj_properties()

             reply	other threads:[~2026-06-29 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 12:25 Jakub Jelinek [this message]
2026-06-29 12:25 [rpms/gcc] rhel-f41-base: 4.6.2-1 Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178273591064.1.9425964252834961775.rpms-gcc-7750bc9d3c60@fedoraproject.org \
    --to=jakub@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox