public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/antlr3] epel10: - Build the C runtime with --enable-64bit on x86_64 to avoid
Date: Wed, 22 Jul 2026 19:37:05 GMT	[thread overview]
Message-ID: <178474902579.1.1904335164850121063.rpms-antlr3-88942ce71789@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/antlr3
        Branch : epel10
        Commit : 88942ce717891890a0a2ff633124d13ca02037da
        Author : Miloš Jakubíček <mjakubicek@fedoraproject.org>
        Date   : 2010-04-29T09:40:39+00:00
        Stats  : +12/-1 in 1 file(s)
        URL    : https://src.fedoraproject.org/rpms/antlr3/c/88942ce717891890a0a2ff633124d13ca02037da?branch=epel10

        Log:
        - Build the C runtime with --enable-64bit on x86_64 to avoid
undeterministic segfaults caused by possible invalid conversion of
64bit pointers to int32_t

---
diff --git a/antlr3.spec b/antlr3.spec
index 7a38d35..a955429 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:			ANother Tool for Language Recognition
 Name:				antlr3
 Version:			%{antlr_version}
-Release:			4%{?dist}
+Release:			5%{?dist}
 URL:				http://www.antlr.org/
 Source0:			http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
 Source1:			http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@@ -195,7 +195,14 @@ popd
 
 # Build the C runtime
 pushd libantlr3c-%{antlr_version}
+
+%ifarch x86_64
+%configure --disable-abiflags --enable-debuginfo --enable-64bit
+%endif
+%ifarch %{ix86}
 %configure --disable-abiflags --enable-debuginfo
+%endif
+
 sed -i "s/CFLAGS = .*/CFLAGS = $RPM_OPT_FLAGS/" Makefile
 make %{?_smp_mflags}
 doxygen -u # update doxygen configuration file
@@ -314,6 +321,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mavenpomdir}/JPP-maven-gunit-plugin.pom
 
 %changelog
+* Thu Apr 22 2010 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.2-5
+- Build the C runtime with --enable-64bit on x86_64 to avoid undeterministic
+  segfaults caused by possible invalid conversion of 64bit pointers to int32_t 
+
 * Mon Mar 08 2010 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.2-4
 - Patch Java runtime build to include OSGi meta-information in the manifest
   (thanks to Mat Booth)

                 reply	other threads:[~2026-07-22 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178474902579.1.1904335164850121063.rpms-antlr3-88942ce71789@fedoraproject.org \
    --to=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