Bug 455376 - Building perl without threading fails
Building perl without threading fails
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: perl (Show other bugs)
5.2
i386 Linux
low Severity medium
: rc
: ---
Assigned To: Marcela Mašláňová
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-15 04:39 EDT by Roman Sozinov
Modified: 2008-07-21 06:16 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-21 06:16:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rpm tmp file (1.57 KB, application/octet-stream)
2008-07-15 04:39 EDT, Roman Sozinov
no flags Details

  None (edit)
Description Roman Sozinov 2008-07-15 04:39:03 EDT
Description of problem:
Building perl-5.8.8-8 without threading fails with a error:
proto.h:1623: error: ‘void’ must be the only parameter
perl.c:4744: error: ‘void’ must be the only parameter
make: *** [perl.o] Error 1

Version-Release number of selected component (if applicable):
perl-5.8.8-10.el5_2.3

How reproducible:
Easy

Steps to Reproduce:
1. In perl.spec change %define threading 0 
2. rpmbuild -ba perl.spec

  
Actual results:
...
+ make -j2
`sh  cflags "optimize='-O2 -g -march=i386 -mcpu=i686'" miniperlmain.o` -fPIC
miniperlmain.c
`sh  cflags "optimize='-O2 -g -march=i386 -mcpu=i686'" perl.o` -fPIC perl.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686  -Wall
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686  -Wall
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from perl.h:3950,
                 from perl.c:82:
proto.h:1623: error: ‘void’ must be the only parameter
perl.c:4744: error: ‘void’ must be the only parameter
make: *** [perl.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.16966 (%build)

Additional info:
File rpm-tmp.16966 is attached.
It was similar bug in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=200440
Comment 1 Roman Sozinov 2008-07-15 04:39:03 EDT
Created attachment 311796 [details]
rpm tmp file
Comment 2 Marcela Mašláňová 2008-07-21 06:16:14 EDT
The character of the requested change does not justify modifying an Enterprise
product. 

We are also not supporting this feature in next releases of Fedora.

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