php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37378 gcc 2.95.4 have no prefer-pic/no-prefer-pic option
Submitted: 2006-05-09 10:39 UTC Modified: 2006-07-27 01:00 UTC
From: dan+php dot net at obluda dot cz Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.1.4 OS: FreeBSD 4.11
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-05-09 10:39 UTC] dan+php dot net at obluda dot cz
Description:
------------
old gcc (2.95.4) avaiable on some older OSes (FreeBSD 4.x) doesn't know the prefer-pic/no-prefer-pic option. It's used in several places, especially in configure.in pre-script. It should not be used when not supported.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-10 10:23 UTC] tony2001@php.net
>It should not be used when not supported.
Is there any problem with this option? 
If no, then what's the problem? 
If yes, then is it a secret?
 [2006-05-10 11:05 UTC] dan+php dot net at obluda dot cz
I hoped the the category 'copile failure' explain what the problem is. The description says why the gcc fail during compilation sources (because of unknown option passed to it), the summary say's it also. The description suggest fix also - check if option is supported then don't call gcc with it if don't.
What kind of information I missed to reveal ?
 [2006-05-10 11:12 UTC] dan+php dot net at obluda dot cz
Maybe I miss the exact error message? 
gcc: unrecognized option `-prefer-pic'
Hope it help to you.
 [2006-07-19 14:39 UTC] sniper@php.net
What was the FULL compile line that caused the error?
 [2006-07-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 00:01:31 2024 UTC