#37378 [Opn->Fbk]: gcc 2.95.4 have no prefer-pic/no-prefer-pic option
| From: | sniper@php.net | Date: | Wed, 19 Jul 2006 14:39:14 +0000 |
| Subject: | #37378 [Opn->Fbk]: gcc 2.95.4 have no prefer-pic/no-prefer-pic option | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99614@lists.php.net to get a copy of this message | ||
ID: 37378
Updated by: sniper@php.net
Reported By: dan+php dot net at obluda dot cz
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: FreeBSD 4.11
PHP Version: 5.1.4
New Comment:
What was the FULL compile line that caused the error?
Previous Comments:
------------------------------------------------------------------------
[2006-05-10 11:12:52] 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-05-10 11:05:12] 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 10:23:51] 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-09 10:39:50] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37378&edit=1