php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1153 configure doesn't set -fpic, but -KPIC
Submitted: 1999-02-16 03:34 UTC Modified: 1999-06-26 16:43 UTC
From: hendrik at sdn dot co dot za Assigned:
Status: Closed Package: Compile Warning
PHP Version: 3.0.6 OS: Solaris 2.6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hendrik at sdn dot co dot za
New email:
PHP Version: OS:

 

 [1999-02-16 03:34 UTC] hendrik at sdn dot co dot za
I also have SunPRO C available in my path, which could
influence the choice of compiler options.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-24 09:25 UTC] sas at cvs dot php dot net
Set CC to your compiler of choice. The configure script should find the right option then (e.g. CC=/opt/gnu/bin/gcc ./configure ...)
 [1999-06-26 16:43 UTC] sas at cvs dot php dot net
Just for the record, this happens when you use a different compiler for PHP as you used for compiling Perl. PHP3 uses Perl to find out about the compiler options for creating shared libraries.

In this situation, the Solaris compiler might need -KPIC to create position independent code while gcc wants to have -fpic.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC