Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 5.8.0 on Solaris 8 with gcc 3.2 and gnu as and gnu ld #5933

Closed
p5pRT opened this issue Sep 17, 2002 · 11 comments
Closed

Perl 5.8.0 on Solaris 8 with gcc 3.2 and gnu as and gnu ld #5933

p5pRT opened this issue Sep 17, 2002 · 11 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 17, 2002

Migrated from rt.perl.org#17385 (status was 'stalled')

Searchable as RT17385$

@p5pRT
Copy link
Author

p5pRT commented Sep 17, 2002

From bronto@crs4.it

Hello there

I successfully installed Perl 5.8.0 on Solaris 8 with gcc, and GNU
ld/as. I had to renounce to the gdbm interface since the package I
installed on the system didn't match with gcc libraries and was driving
me nuts... anyway​:

I had to delete the -Wl,E flags for the linker​: they weren't recognized
both. One test failed, and it was due to an unrecognized "-Wl"​:

lib/ExtUtils/t/Embed.................cc1​: unrecognized option `-Wl'
FAILED at test 1

My gcc, ld and as versions​:
$ gcc --version
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
  Supported emulations​:
  elf32_sparc
  elf64_sparc

$ as --version
GNU assembler 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.8'.

All the three were installed from sunfreeware.

My config.sh is included.

My path was​:
/usr/local/sbin​:/usr/local/bin​:/usr/sbin​:/usr/bin

I hope this helps!

Ciao
Marco

--
Marco Marongiu Email​: bronto@​crs4.it
CRS4 Research Center Phone​: +39 070 2796 336
NCS Division Fax​: +39 070 2796 216
NSM Group WWW​: http​://bugs.unica.it​:4444/

@p5pRT
Copy link
Author

p5pRT commented Sep 17, 2002

From bronto@crs4.it

#!/bin/sh
#
# This file was produced by running the Configure script. It holds all the
# definitions figured out by Configure. Should you modify one of these values,
# do not forget to propagate your changes by running "Configure -der". You may
# instead choose to run each of the .SH files by yourself, or "Configure -S".
#

# Package name : perl5
# Source directory : .
# Configuration time​: Tue Sep 17 16​:40​:37 MEST 2002
# Configured by : nsm
# Target system : sunos crs4gw 5.8 generic_108528-13 sun4u sparc sunw,ultraax-i2

Author=''
Date='$Date'
Header=''
Id='$Id'
Locker=''
Log='$Log'
Mcc='Mcc'
RCSfile='$RCSfile'
Revision='$Revision'
Source=''
State=''
_a='.a'
_exe=''
_o='.o'
afs='false'
afsroot='/afs'
alignbytes='8'
ansi2knr=''
aphostname='/usr/bin/hostname'
api_revision='5'
api_subversion='0'
api_version='8'
api_versionstring='5.8.0'
ar='ar'
archlib='/opt/Perl-Lib/lib/perl5/5.8.0/sun4-solaris'
archlibexp='/opt/Perl-Lib/lib/perl5/5.8.0/sun4-solaris'
archname64=''
archname='sun4-solaris'
archobjs=''
asctime_r_proto='0'
awk='awk'
baserev='5.0'
bash=''
bin='/opt/Perl-5.8.0/bin'
binexp='/opt/Perl-5.8.0/bin'
bison='bison'
byacc='byacc'
byteorder='4321'
c='\c'
castflags='0'
cat='cat'
cc='gcc'
cccdlflags='-fPIC'
ccdlflags=' -Wl'
ccflags='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccname='gcc'
ccsymbols='__GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=0 __GXX_ABI_VERSION=102 __NO_INLINE__=1 __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_TYPE__=int __SIZE_TYPE__=unsigned __STDC_HOSTED__=1 __WCHAR_TYPE__=long __WINT_TYPE__=long __sparc=1 __sparc__=1 __sun=1 __sun__=1 __svr4__=1 __unix=1 __unix__=1 cpu=sparc machine=sparc system=svr4 system=unix'
ccversion=''
cf_by='nsm'
cf_email='bronto@​crs4.it'
cf_time='Tue Sep 17 16​:40​:37 MEST 2002'
charsize='1'
chgrp=''
chmod='chmod'
chown=''
clocktype='clock_t'
comm='comm'
compress=''
contains='grep'
cp='cp'
cpio=''
cpp='cpp'
cpp_stuff='42'
cppccsymbols='__GCC_NEW_VARARGS__=1 __GNUC__=3 __SVR4=1 sparc=1 sun=1 unix=1'
cppflags='-fno-strict-aliasing -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
cpplast='-'
cppminus='-'
cpprun='gcc -E'
cppstdin='gcc -E'
cppsymbols='_BIG_ENDIAN=1 _FILE_OFFSET_BITS=64 __GNUC_MINOR__=2 _ILP32=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 __STDC__=1 __sparc=1 __sparc__=1 __sun=1 __sun__=1 __svr4__=1 __unix=1 __unix__=1'
crypt_r_proto='0'
cryptlib=''
csh='csh'
ctermid_r_proto='0'
ctime_r_proto='0'
d_Gconvert='gconvert((x),(n),(t),(b))'
d_PRIEUldbl='define'
d_PRIFUldbl='define'
d_PRIGUldbl='define'
d_PRIXU64='define'
d_PRId64='define'
d_PRIeldbl='define'
d_PRIfldbl='define'
d_PRIgldbl='define'
d_PRIi64='define'
d_PRIo64='define'
d_PRIu64='define'
d_PRIx64='define'
d_SCNfldbl='define'
d__fwalk='undef'
d_access='define'
d_accessx='undef'
d_alarm='define'
d_archlib='define'
d_asctime_r='undef'
d_atolf='undef'
d_atoll='define'
d_attribut='define'
d_bcmp='define'
d_bcopy='define'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
d_bzero='define'
d_casti32='define'
d_castneg='define'
d_charvspr='undef'
d_chown='define'
d_chroot='define'
d_chsize='undef'
d_class='undef'
d_closedir='define'
d_cmsghdr_s='define'
d_const='define'
d_crypt='define'
d_crypt_r='undef'
d_csh='define'
d_ctermid_r='undef'
d_ctime_r='undef'
d_cuserid='define'
d_dbl_dig='define'
d_dbminitproto='define'
d_difftime='define'
d_dirfd='undef'
d_dirnamlen='undef'
d_dlerror='define'
d_dlopen='define'
d_dlsymun='undef'
d_dosuid='undef'
d_drand48_r='undef'
d_drand48proto='define'
d_dup2='define'
d_eaccess='undef'
d_endgrent='define'
d_endgrent_r='undef'
d_endhent='define'
d_endhostent_r='undef'
d_endnent='define'
d_endnetent_r='undef'
d_endpent='define'
d_endprotoent_r='undef'
d_endpwent='define'
d_endpwent_r='undef'
d_endsent='define'
d_endservent_r='undef'
d_eofnblk='define'
d_eunice='undef'
d_fchdir='define'
d_fchmod='define'
d_fchown='define'
d_fcntl='define'
d_fcntl_can_lock='define'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='define'
d_fgetpos='define'
d_finite='define'
d_finitel='undef'
d_flexfnam='define'
d_flock='undef'
d_flockproto='undef'
d_fork='define'
d_fp_class='undef'
d_fpathconf='define'
d_fpclass='define'
d_fpclassify='undef'
d_fpclassl='undef'
d_fpos64_t='define'
d_frexpl='undef'
d_fs_data_s='undef'
d_fseeko='define'
d_fsetpos='define'
d_fstatfs='define'
d_fstatvfs='define'
d_fsync='define'
d_ftello='define'
d_ftime='undef'
d_getcwd='define'
d_getespwnam='undef'
d_getfsstat='undef'
d_getgrent='define'
d_getgrent_r='undef'
d_getgrgid_r='undef'
d_getgrnam_r='undef'
d_getgrps='define'
d_gethbyaddr='define'
d_gethbyname='define'
d_gethent='define'
d_gethname='define'
d_gethostbyaddr_r='undef'
d_gethostbyname_r='undef'
d_gethostent_r='undef'
d_gethostprotos='define'
d_getitimer='define'
d_getlogin='define'
d_getlogin_r='undef'
d_getmnt='undef'
d_getmntent='define'
d_getnbyaddr='define'
d_getnbyname='define'
d_getnent='define'
d_getnetbyaddr_r='undef'
d_getnetbyname_r='undef'
d_getnetent_r='undef'
d_getnetprotos='define'
d_getpagsz='define'
d_getpbyname='define'
d_getpbynumber='define'
d_getpent='define'
d_getpgid='define'
d_getpgrp2='undef'
d_getpgrp='define'
d_getppid='define'
d_getprior='define'
d_getprotobyname_r='undef'
d_getprotobynumber_r='undef'
d_getprotoent_r='undef'
d_getprotoprotos='define'
d_getprpwnam='undef'
d_getpwent='define'
d_getpwent_r='undef'
d_getpwnam_r='undef'
d_getpwuid_r='undef'
d_getsbyname='define'
d_getsbyport='define'
d_getsent='define'
d_getservbyname_r='undef'
d_getservbyport_r='undef'
d_getservent_r='undef'
d_getservprotos='define'
d_getspnam='define'
d_getspnam_r='undef'
d_gettimeod='define'
d_gmtime_r='undef'
d_gnulibc='undef'
d_grpasswd='define'
d_hasmntopt='define'
d_htonl='define'
d_index='undef'
d_inetaton='undef'
d_int64_t='define'
d_isascii='define'
d_isfinite='undef'
d_isinf='undef'
d_isnan='define'
d_isnanl='undef'
d_killpg='define'
d_lchown='define'
d_ldbl_dig='define'
d_link='define'
d_localtime_r='undef'
d_locconv='define'
d_lockf='define'
d_longdbl='define'
d_longlong='define'
d_lseekproto='define'
d_lstat='define'
d_madvise='define'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
d_memchr='define'
d_memcmp='define'
d_memcpy='define'
d_memmove='define'
d_memset='define'
d_mkdir='define'
d_mkdtemp='undef'
d_mkfifo='define'
d_mkstemp='define'
d_mkstemps='undef'
d_mktime='define'
d_mmap='define'
d_modfl='undef'
d_modfl_pow32_bug='undef'
d_mprotect='define'
d_msg='define'
d_msg_ctrunc='define'
d_msg_dontroute='define'
d_msg_oob='define'
d_msg_peek='define'
d_msg_proxy='undef'
d_msgctl='define'
d_msgget='define'
d_msghdr_s='define'
d_msgrcv='define'
d_msgsnd='define'
d_msync='define'
d_munmap='define'
d_mymalloc='undef'
d_nice='define'
d_nl_langinfo='define'
d_nv_preserves_uv='define'
d_off64_t='define'
d_old_pthread_create_joinable='undef'
d_oldpthreads='undef'
d_oldsock='undef'
d_open3='define'
d_pathconf='define'
d_pause='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='define'
d_poll='define'
d_portable='define'
d_procselfexe='undef'
d_pthread_atfork='define'
d_pthread_yield='undef'
d_pwage='define'
d_pwchange='undef'
d_pwclass='undef'
d_pwcomment='define'
d_pwexpire='undef'
d_pwgecos='define'
d_pwpasswd='define'
d_pwquota='undef'
d_qgcvt='define'
d_quad='define'
d_random_r='undef'
d_readdir64_r='undef'
d_readdir='define'
d_readdir_r='undef'
d_readlink='define'
d_readv='define'
d_recvmsg='define'
d_rename='define'
d_rewinddir='define'
d_rmdir='define'
d_safebcpy='undef'
d_safemcpy='undef'
d_sanemcmp='define'
d_sbrkproto='define'
d_sched_yield='undef'
d_scm_rights='define'
d_seekdir='define'
d_select='define'
d_sem='define'
d_semctl='define'
d_semctl_semid_ds='undef'
d_semctl_semun='define'
d_semget='define'
d_semop='define'
d_sendmsg='define'
d_setegid='define'
d_seteuid='define'
d_setgrent='define'
d_setgrent_r='undef'
d_setgrps='define'
d_sethent='define'
d_sethostent_r='undef'
d_setitimer='define'
d_setlinebuf='define'
d_setlocale='define'
d_setlocale_r='undef'
d_setnent='define'
d_setnetent_r='undef'
d_setpent='define'
d_setpgid='define'
d_setpgrp2='undef'
d_setpgrp='define'
d_setprior='define'
d_setproctitle='undef'
d_setprotoent_r='undef'
d_setpwent='define'
d_setpwent_r='undef'
d_setregid='define'
d_setresgid='undef'
d_setresuid='undef'
d_setreuid='define'
d_setrgid='undef'
d_setruid='undef'
d_setsent='define'
d_setservent_r='undef'
d_setsid='define'
d_setvbuf='define'
d_sfio='undef'
d_shm='define'
d_shmat='define'
d_shmatprototype='define'
d_shmctl='define'
d_shmdt='define'
d_shmget='define'
d_sigaction='define'
d_sigprocmask='define'
d_sigsetjmp='define'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_socket='define'
d_socklen_t='define'
d_sockpair='define'
d_socks5_init='undef'
d_sqrtl='undef'
d_srand48_r='undef'
d_srandom_r='undef'
d_sresgproto='undef'
d_sresuproto='undef'
d_statblks='define'
d_statfs_f_flags='undef'
d_statfs_s='define'
d_statvfs='define'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdio_ptr_lval_nochange_cnt='define'
d_stdio_ptr_lval_sets_cnt='undef'
d_stdio_stream_array='define'
d_stdiobase='define'
d_stdstdio='define'
d_strchr='define'
d_strcoll='define'
d_strctcpy='define'
d_strerrm='strerror(e)'
d_strerror='define'
d_strerror_r='undef'
d_strftime='define'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
d_strtoll='define'
d_strtoq='undef'
d_strtoul='define'
d_strtoull='define'
d_strtouq='undef'
d_strxfrm='define'
d_suidsafe='define'
d_symlink='define'
d_syscall='define'
d_syscallproto='undef'
d_sysconf='define'
d_sysernlst=''
d_syserrlst='define'
d_system='define'
d_tcgetpgrp='define'
d_tcsetpgrp='define'
d_telldir='define'
d_telldirproto='define'
d_time='define'
d_times='define'
d_tm_tm_gmtoff='undef'
d_tm_tm_zone='undef'
d_tmpnam_r='undef'
d_truncate='define'
d_ttyname_r='undef'
d_tzname='define'
d_u32align='define'
d_ualarm='define'
d_umask='define'
d_uname='define'
d_union_semun='undef'
d_unordered='define'
d_usleep='define'
d_usleepproto='define'
d_ustat='define'
d_vendorarch='undef'
d_vendorbin='undef'
d_vendorlib='undef'
d_vfork='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
d_volatile='define'
d_vprintf='define'
d_wait4='define'
d_waitpid='define'
d_wcstombs='define'
d_wctomb='define'
d_writev='define'
d_xenix='undef'
date='date'
db_hashtype='u_int32_t'
db_prefixtype='size_t'
db_version_major=''
db_version_minor=''
db_version_patch=''
defvoidused='15'
direntrytype='struct dirent'
dlext='so'
dlsrc='dl_dlopen.xs'
doublesize='8'
drand01='drand48()'
drand48_r_proto='0'
dynamic_ext='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
egrep='egrep'
emacs=''
endgrent_r_proto='0'
endhostent_r_proto='0'
endnetent_r_proto='0'
endprotoent_r_proto='0'
endpwent_r_proto='0'
endservent_r_proto='0'
eunicefix='​:'
exe_ext=''
expr='expr'
extensions='B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared Errno'
extras=''
fflushNULL='undef'
fflushall='undef'
find=''
firstmakefile='makefile'
flex=''
fpossize='8'
fpostype='fpos_t'
freetype='void'
from='​:'
full_ar='/usr/local/bin/ar'
full_csh='/usr/bin/csh'
full_sed='/usr/bin/sed'
gccosandvers='solaris2.8'
gccversion='3.2'
getgrent_r_proto='0'
getgrgid_r_proto='0'
getgrnam_r_proto='0'
gethostbyaddr_r_proto='0'
gethostbyname_r_proto='0'
gethostent_r_proto='0'
getlogin_r_proto='0'
getnetbyaddr_r_proto='0'
getnetbyname_r_proto='0'
getnetent_r_proto='0'
getprotobyname_r_proto='0'
getprotobynumber_r_proto='0'
getprotoent_r_proto='0'
getpwent_r_proto='0'
getpwnam_r_proto='0'
getpwuid_r_proto='0'
getservbyname_r_proto='0'
getservbyport_r_proto='0'
getservent_r_proto='0'
getspnam_r_proto='0'
gidformat='"ld"'
gidsign='-1'
gidsize='4'
gidtype='gid_t'
glibpth='/usr/shlib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/local/lib'
gmake='gmake'
gmtime_r_proto='0'
gnulibc_version=''
grep='grep'
groupcat='cat /etc/group'
groupstype='gid_t'
gzip='gzip'
h_fcntl='true'
h_sysfile='false'
hint='previous'
hostcat='cat /etc/hosts'
i16size='2'
i16type='short'
i32size='4'
i32type='long'
i64size='8'
i64type='long long'
i8size='1'
i8type='char'
i_arpainet='define'
i_bsdioctl=''
i_crypt='define'
i_db='undef'
i_dbm='define'
i_dirent='define'
i_dld='undef'
i_dlfcn='define'
i_fcntl='define'
i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
i_grp='define'
i_ieeefp='define'
i_inttypes='define'
i_langinfo='define'
i_libutil='undef'
i_limits='define'
i_locale='define'
i_machcthr='undef'
i_malloc='define'
i_math='define'
i_memory='undef'
i_mntent='undef'
i_ndbm='define'
i_netdb='define'
i_neterrno='undef'
i_netinettcp='define'
i_niin='define'
i_poll='define'
i_prot='undef'
i_pthread='define'
i_pwd='define'
i_rpcsvcdbm='undef'
i_sfio='undef'
i_sgtty='undef'
i_shadow='define'
i_socks='undef'
i_stdarg='define'
i_stddef='define'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_sysfile='undef'
i_sysfilio='define'
i_sysin='undef'
i_sysioctl='define'
i_syslog='define'
i_sysmman='define'
i_sysmode='define'
i_sysmount='define'
i_sysndir='undef'
i_sysparam='define'
i_sysresrc='define'
i_syssecrt='undef'
i_sysselct='define'
i_syssockio='define'
i_sysstat='define'
i_sysstatfs='define'
i_sysstatvfs='define'
i_systime='define'
i_systimek='undef'
i_systimes='define'
i_systypes='define'
i_sysuio='define'
i_sysun='define'
i_sysutsname='define'
i_sysvfs='define'
i_syswait='define'
i_termio='undef'
i_termios='define'
i_time='undef'
i_unistd='define'
i_ustat='define'
i_utime='define'
i_values='define'
i_varargs='undef'
i_varhdr='stdarg.h'
i_vfork='undef'
ignore_versioned_solibs=''
inc_version_list=' '
inc_version_list_init='0'
incpath=''
inews=''
installarchlib='/opt/Perl-Lib/lib/perl5/5.8.0/sun4-solaris'
installbin='/opt/Perl-5.8.0/bin'
installman1dir='/opt/Perl-5.8.0/man/man1'
installman3dir='/opt/Perl-5.8.0/man/man3'
installprefix='/opt/Perl-5.8.0'
installprefixexp='/opt/Perl-5.8.0'
installprivlib='/opt/Perl-Lib/lib/perl5/5.8.0'
installscript='/opt/Perl-5.8.0/bin'
installsitearch='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0/sun4-solaris'
installsitebin='/opt/Perl-5.8.0/bin'
installsitelib='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0'
installstyle='lib/perl5'
installusrbinperl='undef'
installvendorarch=''
installvendorbin=''
installvendorlib=''
intsize='4'
issymlink='test -h'
ivdformat='"ld"'
ivsize='4'
ivtype='long'
known_extensions='B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared'
ksh=''
ld='gcc'
lddlflags=' -Wl -G -L/usr/local/lib'
ldflags=' -L/usr/local/lib '
ldflags_uselargefiles=''
ldlibpthname='LD_LIBRARY_PATH'
less='less'
lib_ext='.a'
libc='/lib/libc.so'
libperl='libperl.a'
libpth='/usr/local/lib /usr/lib /usr/ccs/lib'
libs='-lsocket -lnsl -ldl -lm -lc'
libsdirs=' /usr/local/lib'
libsfiles=' libgdbm.so.2'
libsfound=' /usr/local/lib/libgdbm.so.2'
libspath=' /usr/local/lib /usr/lib /usr/ccs/lib'
libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db dl dld sun m c cposix posix ndir dir bsd BSD PW x util '
libswanted_uselargefiles=''
line=''
lint=''
lkflags=''
ln='ln'
lns='/usr/bin/ln -s'
localtime_r_proto='0'
locincpth='/opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
longdblsize='16'
longlongsize='8'
longsize='4'
lp=''
lpr=''
ls='ls'
lseeksize='8'
lseektype='off_t'
mail=''
mailx=''
make='make'
make_set_make='#'
mallocobj=''
mallocsrc=''
malloctype='void *'
man1dir='/opt/Perl-5.8.0/man/man1'
man1direxp='/opt/Perl-5.8.0/man/man1'
man1ext='1'
man3dir='/opt/Perl-5.8.0/man/man3'
man3direxp='/opt/Perl-5.8.0/man/man3'
man3ext='3'
mips_type=''
mkdir='mkdir'
mmaptype='caddr_t'
modetype='mode_t'
more='more'
multiarch='undef'
mv=''
myarchname='sun4-solaris'
mydomain='.crs4.it'
myhostname='crs4gw'
myuname='sunos crs4gw 5.8 generic_108528-13 sun4u sparc sunw,ultraax-i2 '
n=''
need_va_copy='undef'
netdb_hlen_type='int'
netdb_host_type='const char *'
netdb_name_type='const char *'
netdb_net_type='in_addr_t'
nm='nm'
nm_opt='-p'
nm_so_opt=''
nonxs_ext='Errno'
nroff='nroff'
nvEUformat='"E"'
nvFUformat='"F"'
nvGUformat='"G"'
nv_preserves_uv_bits='32'
nveformat='"e"'
nvfformat='"f"'
nvgformat='"g"'
nvsize='8'
nvtype='double'
o_nonblock='O_NONBLOCK'
obj_ext='.o'
old_pthread_create_joinable=''
optimize='-O'
orderlib='false'
osname='solaris'
osvers='2.8'
otherlibdirs=' '
package='perl5'
pager='/usr/bin/less'
passcat='cat /etc/passwd'
patchlevel='8'
path_sep='​:'
perl5='/usr/bin/perl'
perl=''
perl_patchlevel=''
perladmin='bronto@​crs4.it'
perllibs='-lsocket -lnsl -ldl -lm -lc'
perlpath='/opt/Perl-5.8.0/bin/perl'
pg='pg'
phostname='hostname'
pidtype='pid_t'
plibpth=''
pm_apiversion='5.005'
pmake=''
pr=''
prefix='/opt/Perl-5.8.0'
prefixexp='/opt/Perl-5.8.0'
privlib='/opt/Perl-Lib/lib/perl5/5.8.0'
privlibexp='/opt/Perl-Lib/lib/perl5/5.8.0'
procselfexe=''
prototype='define'
ptrsize='4'
quadkind='3'
quadtype='long long'
randbits='48'
randfunc='drand48'
random_r_proto='0'
randseedtype='long'
ranlib='​:'
rd_nodata='-1'
readdir64_r_proto='0'
readdir_r_proto='0'
revision='5'
rm='rm'
rmail=''
run=''
runnm='true'
sPRIEUldbl='"LE"'
sPRIFUldbl='"LF"'
sPRIGUldbl='"LG"'
sPRIXU64='"llX"'
sPRId64='"lld"'
sPRIeldbl='"Le"'
sPRIfldbl='"Lf"'
sPRIgldbl='"Lg"'
sPRIi64='"lli"'
sPRIo64='"llo"'
sPRIu64='"llu"'
sPRIx64='"llx"'
sSCNfldbl='"Lf"'
sched_yield='undef'
scriptdir='/opt/Perl-5.8.0/bin'
scriptdirexp='/opt/Perl-5.8.0/bin'
sed='sed'
seedfunc='srand48'
selectminbits='32'
selecttype='fd_set *'
sendmail=''
setgrent_r_proto='0'
sethostent_r_proto='0'
setlocale_r_proto='0'
setnetent_r_proto='0'
setprotoent_r_proto='0'
setpwent_r_proto='0'
setservent_r_proto='0'
sh='/bin/sh'
shar=''
sharpbang='#!'
shmattype='void *'
shortsize='2'
shrpenv=''
shsharp='true'
sig_count='46'
sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CHLD PWR WINCH URG IO STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ WAITING LWP FREEZE THAW CANCEL LOST RTMIN NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 RTMAX IOT CLD POLL '
sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "PWR", "WINCH", "URG", "IO", "STOP", "TSTP", "CONT", "TTIN", "TTOU", "VTALRM", "PROF", "XCPU", "XFSZ", "WAITING", "LWP", "FREEZE", "THAW", "CANCEL", "LOST", "RTMIN", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "RTMAX", "IOT", "CLD", "POLL", 0'
sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 6 18 22 '
sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 6, 18, 22, 0'
sig_size='49'
signal_t='void'
sitearch='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0/sun4-solaris'
sitearchexp='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0/sun4-solaris'
sitebin='/opt/Perl-5.8.0/bin'
sitebinexp='/opt/Perl-5.8.0/bin'
sitelib='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0'
sitelib_stem='/opt/Perl-Lib/lib/perl5/site_perl'
sitelibexp='/opt/Perl-Lib/lib/perl5/site_perl/5.8.0'
siteprefix='/opt/Perl-5.8.0'
siteprefixexp='/opt/Perl-5.8.0'
sizesize='4'
sizetype='size_t'
sleep=''
smail=''
so='so'
sockethdr=''
socketlib=''
socksizetype='int'
sort='sort'
spackage='Perl5'
spitshell='cat'
srand48_r_proto='0'
srandom_r_proto='0'
src='.'
ssizetype='ssize_t'
startperl='#!/opt/Perl-5.8.0/bin/perl'
startsh='#!/bin/sh'
static_ext=' '
stdchar='unsigned char'
stdio_base='((fp)->_base)'
stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
stdio_cnt='((fp)->_cnt)'
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array='__iob'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
subversion='0'
sysman='/usr/share/man/man1'
tail=''
tar=''
targetarch=''
tbl=''
tee=''
test='test'
timeincl='/usr/include/sys/time.h '
timetype='time_t'
tmpnam_r_proto='0'
to='​:'
touch='touch'
tr='tr'
trnl='\n'
troff=''
ttyname_r_proto='0'
u16size='2'
u16type='unsigned short'
u32size='4'
u32type='unsigned long'
u64size='8'
u64type='unsigned long long'
u8size='1'
u8type='unsigned char'
uidformat='"ld"'
uidsign='-1'
uidsize='4'
uidtype='uid_t'
uname='uname'
uniq='uniq'
uquadtype='unsigned long long'
use5005threads='undef'
use64bitall='undef'
use64bitint='undef'
usecrosscompile='undef'
usedl='define'
useithreads='undef'
uselargefiles='define'
uselongdouble='undef'
usemorebits='undef'
usemultiplicity='undef'
usemymalloc='n'
usenm='true'
useopcode='true'
useperlio='define'
useposix='true'
usereentrant='undef'
usesfio='false'
useshrplib='false'
usesocks='undef'
usethreads='undef'
usevendorprefix='undef'
usevfork='false'
usrinc='/usr/include'
uuname=''
uvXUformat='"lX"'
uvoformat='"lo"'
uvsize='4'
uvtype='unsigned long'
uvuformat='"lu"'
uvxformat='"lx"'
vendorarch=''
vendorarchexp=''
vendorbin=''
vendorbinexp=''
vendorlib=''
vendorlib_stem=''
vendorlibexp=''
vendorprefix=''
vendorprefixexp=''
version='5.8.0'
version_patchlevel_string='version 8 subversion 0'
versiononly='undef'
vi=''
voidflags='15'
xlibpth='/usr/lib/386 /lib/386'
xs_apiversion='5.8.0'
yacc='yacc'
yaccflags=''
zcat=''
zip='zip'
# Configure command line arguments.
config_arg0='Configure'
config_args='-d -Dcc=gcc'
config_argc=2
config_arg1='-d'
config_arg2='-Dcc=gcc'
PERL_REVISION=5
PERL_VERSION=8
PERL_SUBVERSION=0
PERL_API_REVISION=5
PERL_API_VERSION=8
PERL_API_SUBVERSION=0
PERL_PATCHLEVEL=
PERL_CONFIG_SH=true

@p5pRT
Copy link
Author

p5pRT commented Sep 17, 2002

From bronto@crs4.it

Update​: after removing every "-Wl" in config.sh and reconfiguring, the
compilation went ok and no test failed.

The previous compilation didn't install instead...

--M

--
Marco Marongiu Email​: bronto@​crs4.it
CRS4 Research Center Phone​: +39 070 2796 336
NCS Division Fax​: +39 070 2796 216
NSM Group WWW​: http​://bugs.unica.it​:4444/

@p5pRT
Copy link
Author

p5pRT commented Sep 17, 2002

From @doughera88

On 17 Sep 2002, Marco Marongiu wrote​:

I successfully installed Perl 5.8.0 on Solaris 8 with gcc, and GNU
ld/as.

I had to delete the -Wl,E flags for the linker​: they weren't recognized
both. One test failed, and it was due to an unrecognized "-Wl"​:

lib/ExtUtils/t/Embed.................cc1​: unrecognized option `-Wl'
FAILED at test 1

My gcc, ld and as versions​:
$ gcc --version
gcc (GCC) 3.2

$ ld --version
GNU ld 2.11.2

Odd. Are you *sure* that ld no longer recognizes -E? Could you check
the output of ld --help?

The other thing I notice is that your config.sh has strange values for
dynamic loading flags​:

  ccdlflags=' -Wl'
  lddlflags=' -Wl -G -L/usr/local/lib'

These should have been -Wl,-E, according to hints/solaris_2.sh. (You may
have manually changed them because of your problem above.) The plain
'-Wl' that you ended up with could well indeed be an unrecognized option
for gcc, and that would explain the Embed test failure. Without knowing
exactly how the ccdlflags got set to the wrong value, it's hard to say
what went wrong.

Lastly, I note that your config.sh file has

  hint='previous'

this means it was saved from a previous run. That's usually ok, but
again, without knowing what happened and what changed between Configure
runs, it's hard to say for sure.

So could you please do the following​:

1. Check (e.g. with ld --help) if, indeed, ld no longer accepts the -E
option.

2. If ld does still accept it, could you please try re-running Configure
in a fresh directory with no old config.sh file around and report back?

Thanks,

  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Sep 18, 2002

From bronto@crs4.it

Hi Andy

Andy Dougherty (via RT) wrote​:

On 17 Sep 2002, Marco Marongiu wrote​:

I successfully installed Perl 5.8.0 on Solaris 8 with gcc, and GNU
ld/as.

I had to delete the -Wl,E flags for the linker​: they weren't recognized
both. One test failed, and it was due to an unrecognized "-Wl"​:

lib/ExtUtils/t/Embed.................cc1​: unrecognized option `-Wl'
FAILED at test 1

My gcc, ld and as versions​:
$ gcc --version
gcc (GCC) 3.2

$ ld --version
GNU ld 2.11.2

Odd. Are you *sure* that ld no longer recognizes -E? Could you check
the output of ld --help?

Oh-oh...
Yes, it supports it​:

  -E, --export-dynamic Export all dynamic symbols

......and that's *really* odd, since the error it gave me was "unrecognized
flag -E" or such... I cleaned up $PATH from any /usr/ccs/* path to be
sure that no strange ld was around. And there isn't another, indeed​:

$ type -a ld
ld is /usr/local/bin/ld

The other thing I notice is that your config.sh has strange values for
dynamic loading flags​:

ccdlflags=' \-Wl'
lddlflags=' \-Wl \-G \-L/usr/local/lib'

These should have been -Wl,-E, according to hints/solaris_2.sh. (You may
have manually changed them because of your problem above.)

Yes, exactly. I sent another mail yesterday about it, you can read it
attached.

So could you please do the following​:

1. Check (e.g. with ld --help) if, indeed, ld no longer accepts the -E
option.

2. If ld does still accept it, could you please try re-running Configure
in a fresh directory with no old config.sh file around and report back?

Ok, sure! I'll send you a report.

Thanks
Marco

--
Marco Marongiu Email​: bronto@​crs4.it
CRS4 Research Center Phone​: +39 070 2796 336
NCS Division Fax​: +39 070 2796 216
NSM Group WWW​: http​://bugs.unica.it​:4444/

@p5pRT
Copy link
Author

p5pRT commented Sep 18, 2002

From bronto@crs4.it

Message RFC822:
Message-ID: 3D875BD3.5080302@crs4.it
Date: Tue, 17 Sep 2002 18:44:03 +0200
From: Marco Marongiu bronto@crs4.it
Organization: CRS4 - Centro Ricerca Sviluppo Studi Superiori Sardegna
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: it, en
MIME-Version: 1.0
To: perlbug@perl.org
Subject: Re: [perl #17385] AutoReply: Perl 5.8.0 on Solaris 8 with gcc 3.2
and gnu as and gnu ld
References: rt-17385-37961.11.6594242494065@bugs6.perl.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Update: after removing every "-Wl" in config.sh and reconfiguring, the
compilation went ok and no test failed.

The previous compilation didn't install instead...

--M

--
Marco Marongiu Email: bronto@crs4.it
CRS4 Research Center Phone: +39 070 2796 336
NCS Division Fax: +39 070 2796 216
NSM Group WWW: http://bugs.unica.it:4444/

@p5pRT
Copy link
Author

p5pRT commented Sep 18, 2002

From bronto@crs4.it

Andy Dougherty (via RT) wrote​:

On 17 Sep 2002, Marco Marongiu wrote​:

2. If ld does still accept it, could you please try re-running Configure
in a fresh directory with no old config.sh file around and report back?

Done. It fails, but it's still looking for /usr/ccs/bin/ld!

Here is the output​:

  Making DynaLoader (static)
Writing Makefile for DynaLoader
make[1]​: Entering directory `/usr/local/src/perl-5.8.0/ext/DynaLoader'
make[1]​: Leaving directory `/usr/local/src/perl-5.8.0/ext/DynaLoader'
make[1]​: Entering directory `/usr/local/src/perl-5.8.0/ext/DynaLoader'
...../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
DynaLoader_pm.PL DynaLoader.pm
...../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
XSLoader_pm.PL XSLoader.pm
cp XSLoader.pm ../../lib/XSLoader.pm
cp DynaLoader.pm ../../lib/DynaLoader.pm
AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)
rm -f DynaLoader.xs
cp dl_dlopen.xs DynaLoader.xs
...../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp
-noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs >
DynaLoader.xsc && mv DynaLoader.xsc DynaLoader.c
gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" "-I../.." -DPERL_CORE
-DLIBC="/lib/libc.so" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
/usr/local/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o
&& : ../../lib/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
make[1]​: Leaving directory `/usr/local/src/perl-5.8.0/ext/DynaLoader'
gcc -o perl -L/usr/local/lib -Wl,-E perlmain.o
lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -lsocket
-lnsl -ldl -lm -lc
/usr/ccs/bin/ld​: illegal option -- E

Note that $PATH is​:

$ echo $PATH
/usr/local/sbin​:/usr/local/bin​:/usr/sbin​:/usr/bin

Hmmmm... A Configure bug?

--M

--
Marco Marongiu Email​: bronto@​crs4.it
CRS4 Research Center Phone​: +39 070 2796 336
NCS Division Fax​: +39 070 2796 216
NSM Group WWW​: http​://bugs.unica.it​:4444/

@p5pRT
Copy link
Author

p5pRT commented Dec 12, 2002

@doughera88 - Status changed from 'new' to 'stalled'

@p5pRT
Copy link
Author

p5pRT commented Dec 12, 2002

From @doughera88

I've set the status to "stalled" here because it's unclear where to
go with it. Although the poster has GNU as and ld installed, his
gcc doesn't appear to be configured to use them. (The final error
message shows that gcc calls /usr/ccs/bin/ld directly.)

Apparently, there is a hints file problem because Configure suggested
the -Wl,-E flags thinking the user was going to use GNU ld. I don't
know exactly how hints/solaris_2.sh got fooled that way.

I'd be inclined to chalk this up as a local misconfiguration except for
the fact that we've gotten a few other gcc-3.x-related solaris reports
which may be related. The hints file logic to figure out which ld is
called may yet need further tuning.

@toddr toddr added the Closable? We might be able to close this ticket, but we need to check with the reporter label Jan 31, 2020
@toddr
Copy link
Member

toddr commented Jan 31, 2020

Given the age of this case, I recommend closing it. The reporter's email doesn't even respond at this point so we're never going to hear from them.

@jkeenan jkeenan closed this as completed Jan 31, 2020
@jkeenan jkeenan removed the Closable? We might be able to close this ticket, but we need to check with the reporter label Jan 31, 2020
@doughera88
Copy link
Contributor

doughera88 commented Feb 4, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants