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

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

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

> 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.

Thanks, applied in change #30528

> 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.
> 
> --- 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 | Thread Next


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