php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9456 dns.c
Submitted: 2001-02-26 07:04 UTC Modified: 2001-02-27 12:34 UTC
From: roberth dot edberg at remando dot se Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux-2.2.14
Private report: No CVE-ID: None
 [2001-02-26 07:04 UTC] roberth dot edberg at remando dot se
I'm trying to compile 4.0.4pl1 on a StromARM machine (www.netwinder.org)

gcc version=2.95.1

My configureline:

./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml --with-sybase-ct=/usr/local/freeds


It stops when compiling "dns.c" with errormessage:

/bin/sh /opt/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. -I/opt/php-4.0.4pl1/ext/standard -I/opt/php-4.0.4pl1/main -I/opt/php-4.0.4pl1 -I/usr/include/apache -I/opt/php-4.0.4pl1/Zend -I/opt/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/freetds/include -I/opt/php-4.0.4pl1/ext/xml/expat/xmltok -I/opt/php-4.0.4pl1/ext/xml/expat/xmlparse -I/opt/php-4.0.4pl1/TSRM  -DLINUX=2 -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2  -c dns.c
dns.c: In function `php_if_getmxrr':
dns.c:306: internal error--unrecognizable insn:
(insn 785 784 309 (set (reg:SI 0 r0)
        (umin:SI (reg/v:SI 0 r0)
            (const_int 8192 [0x2000]))) -1 (nil)
    (nil))

Why? I'm not an expert. Could it be because I'm on a StrongArm processor machine...? The configure script does not fail, so this would be the problem...

Regards,

Roberth Edberg, REMANDO AB
roberth.edberg@remando.se

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 08:02 UTC] wez@php.net
It sounds like gcc doesn't know enough about the StrongArm - the code dump is of the internal retargetable code that gcc generates.

I would suggest trying to either update gcc or perhaps move back to an earlier version where this problem is not present, or using some other C compiler, if possible.
 [2001-02-27 12:34 UTC] roberth dot edberg at remando dot se
Yep, you seem to be right. I changed to an older version and it worked. Thanks!

- Rob.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 15:01:29 2024 UTC