[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: [OpenPKG #239] perl built fails on Compaq Tru64
From: "Karl Vogel via RT" <openpkg-rt () openpkg ! org>
Date: 2003-08-26 13:02:56
[Download RAW message or body]
Request 239 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/239
Ticket: [OpenPKG #239]
Subject: perl built fails on Compaq Tru64
Requestors: karl.vogel@seagha.com
Queue: openpkg
Owner: Nobody
Status: new
Transaction: Ticket created by karl.vogel@seagha.com
Time: Tue Aug 26 15:02:55 2003
_________________________________________________________________________
Building the PERL rpm failed on Compaq Tru64 V5.1B
Following packages are installed:
$ rpm -qa
binutils-2.14-1.3.0
openpkg-20030820-20030820
bison-1.35-1.3.0
texinfo-4.6-1.3.0
less-381-1.3.0
zlib-1.1.4-1.3.0
sed-4.0.7-1.3.0
ccache-2.2-1.3.0
bash-2.05b-1.3.0
make-3.80-1.3.0
m4-1.4o-1.3.0
flex-2.5.4a-1.3.0
ncurses-5.3.20030726-1.3.0
readline-4.3-1.3.0
expat-1.95.6-1.3.0
pcre-4.3-1.3.0
gcc34-3.4s20030820-20030821
The GCC34 snapshot was used as it is the only one that currently supports
threads on tru64 V5.1. So the built failure might be related to that.
The problem is that option -O is passed on to the linker, but on Tru64
binutils doesn't built GNU as/ld, so the standard OS ld is used instead
(which doesn't recognize the -O).
Following patch enables the built of the PERL rpm:
--- /cw/RPM/SRC/perl/perl.spec 2003-07-29 16:44:26.000000000 +0200
+++ /usr/users/kvo/perl.spec 2003-08-26 14:44:18.000000000 +0200
@@ -71,7 +71,7 @@
-d -e -s \
-Dprefix=%{l_prefix} \
-Dinstallprefix=$RPM_BUILD_ROOT%{l_prefix} \
- -Dcc="%{l_cc}" -Doptimize="%{l_cflags -O}" \
+ -Dcc="%{l_cc}" -Doptimize="%{l_cflags }" \
-Dlocincpth="%{l_prefix}/include" \
-Dloclibpth="%{l_prefix}/lib" \
-Dldflags="%{l_ldflags}" \
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic