develooper Front page | perl.perl5.porters | Postings from February 2007

Re: [perl #41589] [PATCH] 5.8.8 Linux needs -FPIC too

Thread Previous
From:
H.Merijn Brand
Date:
February 22, 2007 15:56
Subject:
Re: [perl #41589] [PATCH] 5.8.8 Linux needs -FPIC too
Message ID:
20070223005608.2aab585b@pc09
On Thu, 22 Feb 2007 14:56:24 -0800, Tom Callaway (via RT)
<perlbug-followup@perl.org> wrote:

> # New Ticket Created by  Tom Callaway 
> # Please include the string:  [perl #41589]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41589 >
> 
> 
> This is a bug report for perl from tcallawa@redhat.com,
> generated with the help of perlbug 1.35 running under perl v5.8.8.
> 
> 
> -----------------------------------------------------------------
> As part of the review process for Perl, I'm opening bugs for the 
> long list of patches to perl that Fedora has been carrying around
> (in some cases, for years), in the hopes that these fixes can be
> applied upstream. Unfortunately, I am not the original author of 
> these patches, so please be patient with me as I attempt to    
> describe why Fedora uses them.

I'm glad to see these being added like this.
I'm unable to apply these for the next 10 days, so please
be patient, and if I forget, remind me

> Linux supports a wide range of architectures, and while most of them
> are ok with -fpic, some of them (e.g. SPARC) need -fPIC. To be safe,
> Linux should default to -fPIC.

I /think/ I agree. Please comment from people who know more
about the implications

> --- perl-5.8.1-RC4/Configure.fpic       2003-08-02 00:47:58.000000000
> -0400
> +++ perl-5.8.1-RC4/Configure    2003-08-02 00:50:08.000000000 -0400
> @@ -7501,7 +7501,7 @@
>                         ;;
>                 *)  case "$osname" in
>                         darwin) dflt='none' ;;
> -                       svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
> +                       linux*|svr4*|esix*|solaris|nonstopux)
> dflt='-fPIC' ;;
>                         *)      dflt='-fpic' ;;
>                     esac ;;
>             esac ;;

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About