Re: [PHP4BETA] Compile error on HPUX 10.20
| From: | okrapp at t-online dot de | Date: | Thu, 27 Jan 2000 10:33:00 +0000 |
| Subject: | Re: [PHP4BETA] Compile error on HPUX 10.20 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9457@lists.php.net to get a copy of this message | ||
I got the same problem on a mips based CobaltRAQ2 using gcc 2.7.2
/tmp/cca11804.s: Assembler messages:
/tmp/cca11804.s:910: Error: Branch out of range
... and so on ...
This is a problem caused by the gcc code optimization. Disable this
(remove the -O2 option) and it works.
Hope this helps,
Oliver Krapp
> I got an error when i try to compile PHP4 on HPUX10.20 with gcc
2.8.1
>
> ---8<------
> polaris:lechaude:/usr/local/php-4.0b3> make
> make all-recursive
> Making all in libzend
> /usr/local/php-4.0b3/libzend
> /bin/sh ./libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H
> -I. -I/usr
> /local/php-4.0b3/./libzend -I. -g -O2 -g -c -o zend_execute.lo
> zend_execute.
> c
> gcc: Internal compiler error: program cc1 got fatal signal 6
> *** Error exit code 1