OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004103 [pm_tt2] other tweak always 2009-12-29 10:41 2010-09-06 17:45
Reporter rrossi33 View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0004103: Sun Studio Compiler PATH in Config.pm/Config_heavy.pl and config.h
Description Wrong hard coded cc path in Config.pm/ Config_heavy.pl and config.h


cc => ยด/opt/studio/SOS11/SUNWspro/bin/cc',

on Machine:

/opt/SUNWspro/bin/cc


Result:

/opt/csw/bin/perl -MCPAN -e shell
CPAN Module Compiling - Entry in Makefile.pl:

/opt/studio/SOS11/SUNWspro/bin/cc

error in compiling




Additional Information also in libtool and bashbug Package
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007531)
skayser (administrator)
2010-02-26 21:04

Changing "View Status" to "public". In fact "private" shouldn't be selectable on the "Report Issue" form in the first place (not even email notifications get sent out for such submitted bugs). Sorry for the inconvenience.
(0007534)
dam (administrator)
2010-02-26 21:39

The path /opt/studio/SOS11/SUNWspro/bin/cc is indeed the default compiler path for OpenCSW. This is due to the fact there are many different Sun Studio and other compilers installed and each compiler has specific pathes and flags. I don't see a simple way around this.
(0008078)
hudesd (reporter)
2010-07-01 16:59

The path in question is not what you get with a normal Sun Studio installation.
Solaris 8 is a year past end of support life. Sun Studio 12 supports Solaris 9 and beyond. Use of Sun Studio 11 is no longer appropriate.

Furthermore even if you have compiled with Studio 11 you can still compile new stuff with 12 and link it together. Therefore, do not do this /opt/studio hack and use the standard /opt/SUNWspro location for Sun Studio on all projects.
(0008156)
dam (administrator)
2010-08-02 16:15

I just changed the path of the Sun Studio 12 compiler on the buildfarm. It is now
  /opt/SUNWspro
Peter, would you mind just respinning the Perl package so it can pick up the correct path?
(0008181)
bonivart (developer)
2010-08-09 18:28

Test packages in http://mirror.opencsw.org/experimental.html#bonivart. [^]
(0008183)
hudesd (reporter)
2010-08-10 00:29
edited on: 2010-08-10 00:30

I have installed (via pkgutil -u) the test packages from experimental. I have used cpan command to build a number of XS packages and compilation works flawlessly. However, I see that Perl is still 32-bit and the target architecture is still v8 (which was end of support life 15 years ago; indeed, base sparcv9 ultasparc I is EOSL 10 years ago and USII is EOSL about 3 years ago).

At least change the target to -xarch=v9 (and drop the -m32 since v9 implied m64...even solaris 8 is a 64 bit OS)

(0008184)
dam (administrator)
2010-08-10 09:07

Hi Dana,

(snippet from Roger:) v8plus was introduced with sun4u and unfortunately, Sun did only drop the support for sun4d (SS10) in Solaris 9, sun4m (SS5/5/20) was still supported. As we still have Solaris 9 as baseline we can not safely raise the buildlevel to V8+.

Regarding 64 bit it is a misapprehension that it is always "better" than 32 bit. Unless you really need the 64 bit features (for Perl that is more than 4 GB of memory or more than 256 filedescriptors) 64 bit is slower most of the time because it has to shuffle more memory around (8 byte instead of 4). Please see also
  http://www.opencsw.org/extend-it/contribute-packages/build-standards/#64vs32 [^]

That being said I would love to have a 64 bit Perl for the above reason in addition to the 32 bit default. However, this requires rebuilding Note: 0000200 packages for Perl modules containing binary libs. If you'd like to help on this I may get the additional kick needed to do this :-)
(0008185)
bonivart (developer)
2010-08-10 10:19

perl -V:

  Linker and Libraries:
    ld='/opt/SUNWspro/bin/cc', ldflags ='-m32 -xarch=v8 -norunpath -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/studio/SOS12/SUNWspro/prod/lib/sparc -L/opt/studio/SOS12/SUNWspro/prod/lib -L/lib'

@Dago: shouldn't the flags be adjusted as well?
(0008186)
hudesd (reporter)
2010-08-10 16:31

I'll get back to you with the official Sun support on older CPU equipment but I haven't seen anything less than an Ultra II in a long time and we have a LOT of legacy equipment as well as new stuff.

I am certainly willing to help build packages if it's just spinning the build.
In fact I'm willing to spin a sun4v build.

As to 64-bit perl. I'm looking at databases upwards of 25 million records. That's future. Right now, in terms of 256 file descriptors and 4GB of memory:
1. Ever hear of Orca? It launches a bunzip2 child for every orcallator file it finds. My Data Warehouse generates about 35 of them a day itself. Then you have about 65 other physical machines and their child virtual hosts (zones). so there's 256 processes.
2. 4GB of memory http://queue.acm.org/detail.cfm?id=1814327 [^]
3. 64 bit arithmetic anyone? Deal in network metrics for gigabit Ethernet...

@bonivart: yes the link flags need adjustment. I have some build failures of XS modules details later.
(0008187)
bonivart (developer)
2010-08-10 17:20

There's another bug filed for 64-bit perl, I think it's better to discuss CPU support there. Building 64-bit and/or upgrading to 5.12.1 is a much larger task, this bug should be relatively easy to fix so there's no reason to delay this because we want other stuff as well.

@hudesd: I would appreciate any help I can get. Dago is looking at the build environment to see where it's being picked up.
(0008188)
hudesd (reporter)
2010-08-10 18:11

Script started on Tue Aug 10 12:03:12 2010
# cpan

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[2]>o conf
$CPAN::Config options from '/opt/csw/share/perl/5.10.1/CPAN/Config.pm':
    commit [Commit changes to disk]
    defaults [Reload defaults from disk]
    help [Short help about 'o conf' usage]
    init [Interactive setting of all options]

    applypatch []
    auto_commit [1]
    build_cache [100]
    build_dir [/export/home/dhudes/.cpan/build]
    build_dir_reuse [0]
    build_requires_install_policy [ask/yes]
    bzip2 [/opt/csw/bin/bzip2]
    cache_metadata [1]
    check_sigs [0]
    colorize_debug undef
    colorize_output undef
    colorize_print undef
    colorize_warn undef
    commandnumber_in_prompt [1]
    commands_quote undef
    connect_to_internet_ok [1]
    cpan_home [/export/home/dhudes/.cpan]
    curl []
    dontload_hash undef
    dontload_list undef
    ftp [/usr/bin/ftp]
    ftp_passive [1]
    ftp_proxy []
    ftpstats_period undef
    ftpstats_size undef
    getcwd [cwd]
    gpg [/opt/csw/bin/gpg]
    gzip [/usr/bin/gzip]
    halt_on_failure [0]
    histfile [/export/home/dhudes/.cpan/histfile]
    histsize [100]
    http_proxy []
    inactivity_timeout [0]
    index_expire [1]
    inhibit_startup_message [0]
    keep_source_where [/export/home/dhudes/.cpan/sources]
    load_module_verbosity [v]
    lynx []
    make [/usr/bin/dmake]
    make_arg []
    make_install_arg []
    make_install_make_command [/usr/bin/dmake]
    makepl_arg []
    mbuild_arg []
    mbuild_install_arg []
    mbuild_install_build_command [./Build]
    mbuildpl_arg []
    ncftp undef
    ncftpget []
    no_proxy []
    pager [/usr/bin/less]
    password undef
    patch [/usr/bin/patch]
    patches_dir undef
    perl5lib_verbosity [v]
    prefer_installer [MB]
    prefs_dir [/export/home/dhudes/.cpan/prefs]
    prerequisites_policy [follow]
    proxy_pass undef
    proxy_user undef
    randomize_urllist undef
    scan_cache [atstart]
    shell [/usr/bin/bash]
    show_unparsable_versions [0]
    show_upload_date [0]
    show_zero_versions [0]
    tar [/opt/csw/bin/gtar]
    tar_verbosity [v]
    term_is_latin [1]
    term_ornaments [1]
    test_report [0]
    trust_test_report_history [0]
    unzip [/usr/bin/unzip]
    urllist
        0 [http://cpan.ux.hra.nycnet] [^]
    use_sqlite [0]
    username undef
    wait_list undef
    wget [/opt/csw/bin/wget]
    yaml_load_code [0]
    yaml_module [YAML]

cpan[3]>install ExtUtils::CBuilder
CPAN: Storable loaded ok (v2.21)
Going to read '/export/home/dhudes/.cpan/Metadata'
  Database was generated on Mon, 09 Aug 2010 04:37:22 GMT
Running install for module 'ExtUtils::CBuilder'
CPAN: YAML loaded ok (v0.71)
Running make for D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /export/home/dhudes/.cpan/sources/authors/id/D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz ok
Scanning cache /export/home/dhudes/.cpan/build for sizes
............................................................................DONE
CPAN: Archive::Tar loaded ok (v1.66)
ExtUtils-CBuilder-0.2703
ExtUtils-CBuilder-0.2703/MANIFEST
ExtUtils-CBuilder-0.2703/META.yml
ExtUtils-CBuilder-0.2703/README
ExtUtils-CBuilder-0.2703/Makefile.PL
ExtUtils-CBuilder-0.2703/Changes
ExtUtils-CBuilder-0.2703/INSTALL
ExtUtils-CBuilder-0.2703/t
ExtUtils-CBuilder-0.2703/t/01-basic.t
ExtUtils-CBuilder-0.2703/t/00-have-compiler.t
ExtUtils-CBuilder-0.2703/t/02-link.t
ExtUtils-CBuilder-0.2703/t/03-cplusplus.t
ExtUtils-CBuilder-0.2703/lib
ExtUtils-CBuilder-0.2703/lib/ExtUtils
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Base.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/VMS.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/darwin.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Unix.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/aix.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/os2.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/cygwin.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
ExtUtils-CBuilder-0.2703/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build D/DA/DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::CBuilder
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> Job output
cp lib/ExtUtils/CBuilder.pm blib/lib/ExtUtils/CBuilder.pm
cp lib/ExtUtils/CBuilder/Platform/Windows.pm blib/lib/ExtUtils/CBuilder/Platform/Windows.pm
cp lib/ExtUtils/CBuilder/Platform/aix.pm blib/lib/ExtUtils/CBuilder/Platform/aix.pm
cp lib/ExtUtils/CBuilder/Platform/cygwin.pm blib/lib/ExtUtils/CBuilder/Platform/cygwin.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm blib/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
cp lib/ExtUtils/CBuilder/Platform/VMS.pm blib/lib/ExtUtils/CBuilder/Platform/VMS.pm
cp lib/ExtUtils/CBuilder/Platform/Unix.pm blib/lib/ExtUtils/CBuilder/Platform/Unix.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm blib/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
cp lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm blib/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
cp lib/ExtUtils/CBuilder/Platform/darwin.pm blib/lib/ExtUtils/CBuilder/Platform/darwin.pm
cp lib/ExtUtils/CBuilder/Platform/os2.pm blib/lib/ExtUtils/CBuilder/Platform/os2.pm
cp lib/ExtUtils/CBuilder/Platform/dec_osf.pm blib/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
cp lib/ExtUtils/CBuilder/Base.pm blib/lib/ExtUtils/CBuilder/Base.pm
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> Job output
Manifying blib/man3/ExtUtils::CBuilder::Platform::Windows.3perl
Manifying blib/man3/ExtUtils::CBuilder.3perl
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
  DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
  /usr/bin/dmake -- OK
Running make test
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 2 jobs
sunldap01.ux.hra.nycnet --> 1 job
sunldap01.ux.hra.nycnet --> 1 job
PERL_DL_NONLAZY=1 /opt/csw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
sunldap01.ux.hra.nycnet --> Job output
PERL_DL_NONLAZY=1 /opt/csw/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-have-compiler.t .. ok
t/01-basic.t .......... ok
cc: Warning: illegal option -norunpath
ld.so.1: compilet: fatal: libperl.so: open failed: No such file or directory

# Failed test 'got expected exit code from executable'
# at t/02-link.t line 69.
# got: '0'
# expected: '11'
# Unexpected exit code '0'
# Looks like you failed 1 test of 8.
t/02-link.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
cc: Warning: illegal option -x
cc: No input file specified, no output generated
cc: Warning: illegal option -x
cc: No input file specified, no output generated
t/03-cplusplus.t ...... skipped: no compiler available for testing

Test Summary Report
-------------------
t/02-link.t (Wstat: 256 Tests: 8 Failed: 1)
  Failed test: 8
  Non-zero exit status: 1
Files=4, Tests=26, 3 wallclock secs ( 0.16 usr 0.16 sys + 1.82 cusr 0.64 csys = 2.78 CPU)
Result: FAIL
Failed 1/4 test programs. 1/26 subtests failed.
*** Error code 255
dmake: Fatal error: Command failed for target `test_dynamic'
  DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
  /usr/bin/dmake test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 DAGOLDEN/ExtUtils-CBuilder-0.2703.tar.gz : make_test NO

  cpan[5]> o conf
$CPAN::Config options from '/opt/csw/share/perl/5.10.1/CPAN/Config.pm':
    commit [Commit changes to disk]
    defaults [Reload defaults from disk]
    help [Short help about 'o conf' usage]
    init [Interactive setting of all options]

    applypatch []
    auto_commit [1]
    build_cache [100]
    build_dir [/export/home/dhudes/.cpan/build]
    build_dir_reuse [0]
    build_requires_install_policy [ask/yes]
    bzip2 [/opt/csw/bin/bzip2]
    cache_metadata [1]
    check_sigs [0]
    colorize_debug undef
    colorize_output undef
    colorize_print undef
    colorize_warn undef
    commandnumber_in_prompt [1]
    commands_quote undef
    connect_to_internet_ok [1]
    cpan_home [/export/home/dhudes/.cpan]
    curl []
    dontload_hash undef
    dontload_list undef
    ftp [/usr/bin/ftp]
    ftp_passive [1]
    ftp_proxy []
    ftpstats_period undef
    ftpstats_size undef
    getcwd [cwd]
    gpg [/opt/csw/bin/gpg]
    gzip [/usr/bin/gzip]
    halt_on_failure [0]
    histfile [/export/home/dhudes/.cpan/histfile]
    histsize [100]
    http_proxy []
    inactivity_timeout [0]
    index_expire [1]
    inhibit_startup_message [0]
    keep_source_where [/export/home/dhudes/.cpan/sources]
    load_module_verbosity [v]
    lynx []
    make [/usr/bin/dmake]
    make_arg []
    make_install_arg []
    make_install_make_command [/usr/bin/dmake]
    makepl_arg []
    mbuild_arg []
    mbuild_install_arg []
    mbuild_install_build_command [./Build]
    mbuildpl_arg []
    ncftp undef
    ncftpget []
    no_proxy []
    pager [/usr/bin/less]
    password undef
    patch [/usr/bin/patch]
    patches_dir undef
    perl5lib_verbosity [v]
    prefer_installer [MB]
    prefs_dir [/export/home/dhudes/.cpan/prefs]
    prerequisites_policy [follow]
    proxy_pass undef
    proxy_user undef
    randomize_urllist undef
    scan_cache [atstart]
    shell [/usr/bin/bash]
    show_unparsable_versions [0]
    show_upload_date [0]
    show_zero_versions [0]
    tar [/opt/csw/bin/gtar]
    tar_verbosity [v]
    term_is_latin [1]
    term_ornaments [1]
    test_report [0]
    trust_test_report_history [0]
    unzip [/usr/bin/unzip]
    urllist
        0 [http://cpan.ux.hra.nycnet] [^]
    use_sqlite [0]
    username undef
    wait_list undef
    wget [/opt/csw/bin/wget]
    yaml_load_code [0]
    yaml_module [YAML]


cpan[6]>exit
Lockfile removed.
# which perl
/opt/csw/bin/perl
# perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
  Commit id: f85d4e829029c81add2e34feda7d9138c798b1d6
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
    uname='sunos current9s 5.9 generic_virtual sun4u sparc sunw,sparc-enterprise-t5220'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -xO3 -m32 -xarch=v8 -xnorunpath -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-xO3 -m32 -xarch=v8 -xnorunpath',
    cppflags='-D_REENTRANT -xO3 -m32 -xarch=v8 -xnorunpath -I/opt/csw/include'
    ccversion='Sun C 5.9 SunOS_sparc Patch 124867-14 2010/03/30', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/opt/SUNWspro/bin/cc', ldflags ='-m32 -xarch=v8 -norunpath -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/studio/SOS12/SUNWspro/prod/lib/sparc -L/opt/studio/SOS12/SUNWspro/prod/lib -L/lib'
    libpth=/usr/lib /usr/ccs/lib /opt/studio/SOS12/SUNWspro/prod/lib/sparc /opt/studio/SOS12/SUNWspro/prod/lib /lib /opt/csw/lib
    libs=-lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    perllibs=-lsocket -lnsl -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /opt/csw/lib'
    cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/lib -L/opt/csw/bdb48/lib -L/usr/lib -L/usr/ccs/lib -L/opt/studio/SOS12/SUNWspro/prod/lib/sparc -L/opt/studio/SOS12/SUNWspro/prod/lib -L/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
                        USE_SITECUSTOMIZE
  Built under solaris
  Compiled at Aug 4 2010 21:19:09
  @INC:
    /opt/csw/lib/perl/5.10.1
    /opt/csw/share/perl/5.10.1
    /opt/csw/lib/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/lib/perl/csw
    /opt/csw/share/perl/csw
    /opt/csw/share/perl/csw
    .
# exit
exit

script done on Tue Aug 10 12:04:56 2010
(0008189)
hudesd (reporter)
2010-08-10 18:12

@bonivart: I agree completely. Let's keep this bug focused on building with the same compiler options but with the standard paths for stuff. I'm not familiar with the opencsw build farm and have just started looking at GAR for something else. I have test machines available for SPARC, only. I have no solaris x86 available.
(0008190)
bonivart (developer)
2010-08-10 18:38

BTW: if there's modules you need that we don't have, please let us know and we'll package them up. Maybe that's a good way for you to start with OpenCSW since Perl modules are probably the easiest packages to do.
(0008191)
hudesd (reporter)
2010-08-10 18:52

@bonivart: I'll get back to you with any XS modules but I build stuff from CPAN. That's how we got into this bug in the first place.

Let's keep this bug/ticket and it's notes focused on the compiler path issue.
(0008194)
dam (administrator)
2010-08-11 10:25

@bonivart: I reinstalled the Sun Studio 12 compiler now natively to /opt/SUNWspro, please respin and see if the error persists (I would wonder if it does :-)

@hudesd: Regarding sun4v: Making a special build must be somewhat separable in terms of ISA to automatically select the best perl (or you would need a specific wrapper on your own). A T2 CPU is
  sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis2 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
whereas a T1 CPU is
  sparcv9 sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc sparcv9+vis sparcv9+vis2 sparcv8plus+vis sparcv8plus+vis2
Do you have a suggestion on how to handle special sun4v-branching for the main Perl binary and the shared libs from the modules?
(0008195)
bonivart (developer)
2010-08-11 17:06

New packages in http://mirror.opencsw.org/experimental.html#bonivart. [^]
(0008274)
bonivart (developer)
2010-09-06 17:45

New package released.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker