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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 12:01:31 2024 UTC