[PHP-DEV] PHP 4.0 Bug #9456 Updated: dns.c From: roberth.edberg <email protected>
Date: 02/27/01

ID: 9456
User Update by: roberth.edberg <email protected>
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Description: dns.c

Yep, you seem to be right. I changed to an older version and it worked. Thanks!

- Rob.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-26 08:02:48] wez <email protected>
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-26 07:04:27] roberth.edberg <email protected>
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 <email protected>

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=9456

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>