Bug 1824307 - AM_INIT_AUTOMAKE() produces a configure script that segfaults on 32-bit OSes
Summary: AM_INIT_AUTOMAKE() produces a configure script that segfaults on 32-bit OSes
Keywords:
Status: CLOSED DUPLICATE of bug 1822468
Alias: None
Product: Fedora
Classification: Fedora
Component: automake
Version: rawhide
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Patrik Novotný
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-15 19:13 UTC by Stephen Gallagher
Modified: 2020-04-15 19:24 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-15 19:24:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Minimal reproducer (370 bytes, text/plain)
2020-04-15 19:13 UTC, Stephen Gallagher
no flags Details

Description Stephen Gallagher 2020-04-15 19:13:48 UTC
Created attachment 1679156 [details]
Minimal reproducer

Description of problem:
It was reported that the_silver_searcher was failing to build on Rawhide (on i686 and armv7hl). I took a look and found a minimal case to cause the segfault (really just including AM_INIT_AUTOMAKE() into a configure.ac). See the attached tarball.


Version-Release number of selected component (if applicable):
glibc-2.31.9000-8.fc33.i686
gcc-10.0.1-0.11.fc33.i686
binutils-2.34-2.fc33.i686
automake-1.16.1-14.fc32.noarch
autoconf-2.69-33.fc33.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Load up a 32-bit Fedora Rawhide/33 VM or container (I used `mock -r fedora-33-i686 shell`)
2. Extract the attached minimal.tar.gz into an empty directory
3. Run `autoreconf -if && ./configure`

Actual results:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
Segmentation fault (core dumped)


Expected results:
The configure script should pass on 32-bit systems just as it does on 64-bit systems.

Additional info:
I suspect this issue is actually in gcc or binutils, but since it appears related to AM_INIT_AUTOMAKE(), I'm filing it for automake initially.

Comment 1 Stephen Gallagher 2020-04-15 19:18:07 UTC
I forgot to note: this works fine on 32-bit Fedora 32 builds, so this is something coming from Rawhide.

Comment 2 Adam Williamson 2020-04-15 19:21:34 UTC
This is probably the same thing being discussed on devel@ in the thread "buildroot problems on rawhide i386, armv7hl ??", right? If so, Florian already asked for the build to be untagged, so this should be fixed:

https://pagure.io/releng/issue/9405

Comment 3 Stephen Gallagher 2020-04-15 19:24:53 UTC
It looks like this is probably a dupe of 1822468

*** This bug has been marked as a duplicate of bug 1822468 ***


Note You need to log in before you can comment on or make changes to this bug.