Changes for SCO OpenServer and UnixWare 7 #647
Comments
From root@devsys0.zenez.comI have found the following patches are necessary to build perl on Threads pass all test with the UDK cc, but with gcc-2.95.1 I get an shell> cd t lib/thread..........Confused test output: test 11 answered after test 12 -----------------------------Configure.patch ----------------------------hints/svr5.sh------------------------- # Use Configure -Dcc=gcc to use gcc. # want_ucb='' # We include support for using libraries in /usr/ucblib, but the setting if [ "$want_ucb" ] ; then # a non ucb native version of libdbm for /usr/local is available from if [ "$want_gdbm" -a -f /usr/local/lib/libgdbm.so ] ; then # Don't use problematic libraries: # remove /shlib and /lib from library search path as both symlink to /usr/lib # UnixWare has /usr/lib/libc.so.1, /usr/lib/libc.so.1.1, and # Broken C-Shell tests (Thanks to Tye McQueen): # Unixware-specific problems. The undocumented -X argument to uname if [ "$uw_isuw" = "Release = 5" ]; then ############################################################### case "$cc" in ############################################################### # Configure may fail to find lstat() since it's a static/inline function # DDE SMES Supermax Enterprise Server # This script UU/usethreads.cbu will get 'called-back' by Configure # End of Unixware-specific tests. d_suidsafe='define' # "./Configure -d" can't figure this out easilly cat <<'EOM' >&4 If you wish to use dynamic linking, you must use EOM -----------------------------hints/sco.sh.patch------------------- Thanks, Boyd Gerber Perl Info
|
From @jhi0000-Admin (0000) writes:
Thanks. I now applied these patches towards the Perl 5.6 release (in -- |
From [Unknown Contact. See original ticket]To whom it may concern, Sorry for this new patch so soon Hops @ sco pointed out that gccversion Thanks, Boyd Gerber |
From [Unknown Contact. See original ticket]svr5.sh.patch*** svr5.sh.org Tue Sep 21 09:49:17 1999
--- svr5.sh Tue Sep 21 22:49:59 1999
***************
*** 1,18 ****
# svr5 hints, System V Release 5.x
# Last modified 1999/09/21 by Boyd Gerber, gerberb@zenez.com
!
# Use Configure -Dcc=gcc to use gcc.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
;;
! *)
! case "$gccversion" in
! *2.95*)
! ccflags='-fno-strict-aliasing'
! ;;
! *);;
! esac
;;
esac
--- 1,23 ----
# svr5 hints, System V Release 5.x
# Last modified 1999/09/21 by Boyd Gerber, gerberb@zenez.com
! # with changes from Mike Hopkirk hops@sco.com
# Use Configure -Dcc=gcc to use gcc.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
+ ;;
+ *gcc*)
+ # "$gccversion" not set yet
+ vers=`gcc -v 2>&1 | sed -n -e 's@.*version \([^ ][^ ]*\) .*@\1@p'`
+ case $vers in
+ *2.95*)
+ ccflags='-fno-strict-aliasing'
+ # If it coredumps when running miniperl with the above switch on
+ # try instead without optimisation.
+ # optimize=' '
;;
! *);;
! esac
;;
esac
|
From @jhiBoyd Lynn Gerber (801) 250-O795 Work writes:
Applied. -- |
From [Unknown Contact. See original ticket]In message <14311.63378.903437.898062@alpha.hut.fi>
You might want to consider how that patch interacts with the Tom -- |
From @jhiTom Hughes writes:
I'll have to let you people who have access to svr4/svr5/sco boxes -- |
From [Unknown Contact. See original ticket]In article <14312.34625.463981.132058@alpha.hut.fi>, Jarkko Hietaniemi <jhi@iki.fi> writes:
Unfortunately due a terminally damaged root file system I don't have I suspect it's more just a question of removing the UW 7 stuff from the Tom -- |
From @doughera88On Tue, 21 Sep 1999, Boyd Lynn Gerber (801) 250-O795 Work wrote:
[changes to detect gcc-2.95 and set -fno-strict-aliasing] Thanks, but that's actually not necessary. In 5.005_62 and on, Configure -- |
From [Unknown Contact. See original ticket]On 22 Sep 1999, Tom Hughes wrote:
I started with the old svr4 hints file and modified it to work and find Thanks, Boyd Gerber |
From [Unknown Contact. See original ticket]svr4.sh.patch*** svr4.sh.org Wed Jul 29 19:04:38 1998
--- svr4.sh Wed Sep 22 07:48:00 1999
***************
*** 105,118 ****
fi
if [ "$uw_isuw" = "Release = 5" ]; then
case $uw_ver in
! 7)
! d_csh='undef'
! d_memcpy='define'
! d_memset='define'
! stdio_cnt='((fp)->__cnt)'
! d_stdio_cnt_lval='define'
! stdio_ptr='((fp)->__ptr)'
! d_stdio_ptr_lval='define'
;;
esac
fi
--- 105,125 ----
fi
if [ "$uw_isuw" = "Release = 5" ]; then
case $uw_ver in
! 7*)
! # Future of SCO OSR is SCO UnixWare: there should not be new OSR releases
! echo "************************************************************" >&4
! echo "�" >&4
! echo " sco.sh hints file only supports:" >&4
! echo "�" >&4
! echo " - SCO Unix 3.2v4.x (OSR 3)" >&4
! echo " - SCO Unix 3.2v5.x (OSR 5)" >&4
! echo "�" >&4
! echo "�" >&4
! echo " For UnixWare 1-2.1.x, use svr4.sh hints instead" >&4
! echo " For UnixWare 7.x.x, use svr5.sh hints instead" >&4
! echo "�" >&4
! echo "***********************************************************" >&4
! exit
;;
esac
fi
|
Migrated from rt.perl.org#1520 (status was 'resolved')
Searchable as RT1520$
The text was updated successfully, but these errors were encountered: