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

h2ph breaks Solaris sys/isa_defs.h between 004_04 and 004_05 #916

Closed
p5pRT opened this issue Dec 5, 1999 · 2 comments
Closed

h2ph breaks Solaris sys/isa_defs.h between 004_04 and 004_05 #916

p5pRT opened this issue Dec 5, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 5, 1999

Migrated from rt.perl.org#1853 (status was 'resolved')

Searchable as RT1853$

@p5pRT
Copy link
Author

p5pRT commented Dec 5, 1999

From tuc@ttsg.com

When attempting to test Crypt-HCE_SHA-0.45, I received an error
that "ISA not supported". However, this compiled fine on a
Solaris 7, 004_04. It appears h2ph gives DRASTICALLY different
results between 004_04 and 004_05 on the same file :

1c1
< if (!defined &_SYS_ISA_DEFS_H) {
---

unless(defined(&_SYS_ISA_DEFS_H)) {
3c3
< if (defined &__cplusplus) {
---
if(defined(&__cplusplus)) {
5,6c5,6
< if (defined( &__i386) || defined( &i386)) {
< if (!defined( &__i386)) {
---
if(defined( &__i386) || defined( &i386)) {
if(!defined( &__i386)) {
24a25
eval 'sub _DONT_USE_1275_GENERIC_NAMES () {1;}' unless defined(&_DONT_USE_1275_GENERIC_NAMES);
26c27
< if (!defined( &_I32LPx) & defined( &_KERNEL)) {
---
if(!defined( &_I32LPx) && defined( &_KERNEL)) {
33,34c34,35
< elsif (defined( &__sparc) || defined( &sparc)) {
< if (!defined( &__sparc)) {
---
elsif(defined( &__sparc) || defined( &sparc)) {
if(!defined( &__sparc)) {
37c38,39
< if (defined( &__sparcv8) & defined( &__sparcv9)) {
---
if(defined( &__sparcv8) && defined( &__sparcv9)) {
die("SPARC Versions 8 and 9 are mutually exclusive choices");
39c41
< if (!defined( &__sparcv9) & !defined( &__sparcv8)) {
---
if(!defined( &__sparcv9) && !defined( &__sparcv8)) {
57c59
< if (defined( &__sparcv8)) {
---
if(defined( &__sparcv8)) {
63c65
< if (!defined( &_I32LPx) & defined( &_KERNEL)) {
---
if(!defined( &_I32LPx) && defined( &_KERNEL)) {
67c69
< elsif (defined( &__sparcv9)) {
---
elsif(defined( &__sparcv9)) {
73c75
< if (!defined( &_I32LPx)) {
---
if(!defined( &_I32LPx)) {
76a79,80
} else {
die("unknown SPARC version");
78,79c82,83
< else {
< }
---
} else {
die("ISA not supported");
81c85,86
< else {
---
if(defined( &_ILP32) && defined( &_LP64)) {
die("Both _ILP32 and _LP64 are defined");
83c88
< if (defined( &_ILP32) & defined( &_LP64)) {
---
if(defined(&__cplusplus)) {
85,86d89
< if (defined &__cplusplus) {
< }

Perl Info


Site configuration information for perl 5.00405:

Configured by root at Tue Nov 23 15:29:22 EST 1999.

Summary of my perl5 (5.0 patchlevel 4 subversion 5) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos test25.ttsg.com 5.7 generic_106541-08 sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=undef, doublesize=undef
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00405:
    /usr/local/lib/perl5/sun4-solaris/5.004
    /usr/local/lib/perl5
    /usr/local/lib/perl5/site_perl/sun4-solaris
    /usr/local/lib/perl5/site_perl
    .


Environment for perl 5.00405:
    HOME=/
    LANG (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/sbin:/usr/bin:/usr/ucb/:/usr/ccs/bin
    PERL_BADLANG (unset)
    SHELL=/sbin/sh

@p5pRT
Copy link
Author

p5pRT commented Dec 6, 1999

From [Unknown Contact. See original ticket]

On Sun, Dec 05, 1999 at 01​:20​:30PM -0500, Tuc wrote​:

This is a bug report for perl from root@​test25.ttsg.com,
generated with the help of perlbug 1.26 running under perl 5.00405.

-----------------------------------------------------------------
[Please enter your report here]

When attempting to test Crypt-HCE_SHA-0.45, I received an error
that "ISA not supported". However, this compiled fine on a
Solaris 7, 004_04. It appears h2ph gives DRASTICALLY different
results between 004_04 and 004_05 on the same file :

  Thanks for your bug report. The problems in h2ph that you've mentioned
have been fixed for a while now; I suggest that you pick up perl5.005_03.

  Peace,
* Kurt Starsinic (kstar@​orientation.com) ---------- Senior Network Engineer *
| `The term `Internet' has the meaning given that term in |
| section 230(f)(1) of the Communications Act of 1934.' |
| -- H.R. 3028, Trademark Cyberpiracy Prevention Act |

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

1 participant