Bug #17312 Updated: Build problem with GCC 3.1

From: Date: Tue, 02 Jul 2002 13:56:02 +0000
Subject: Bug #17312 Updated: Build problem with GCC 3.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12803@lists.php.net to get a copy of this message
ID: 17312 Updated by: sniper@php.net Reported By: asautins@yahoo.com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Redhat 7.2 PHP Version: 4.2.1 New Comment: Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz (has updated bundled libmysql) Previous Comments: ------------------------------------------------------------------------ [2002-05-29 23:56:23] asautins@php.net Is this something that could be caught when ./configure is run? My concern is that ./configure checks for tempnam successfully eventhough it will not link. However, since this seems to be the behavior of AC_CHECK_FUNCS there might not be anything to do. ------------------------------------------------------------------------ [2002-05-22 15:41:14] mfischer@php.net Even better this one http://gcc.gnu.org/ml/gcc/2002-02/msg01071.html (one of the Follow-Ups) ------------------------------------------------------------------------ [2002-05-22 15:39:57] mfischer@php.net I've found this line through google: http://gcc.gnu.org/ml/gcc/2002-02/msg00965.html ------------------------------------------------------------------------ [2002-05-22 15:32:59] asautins@php.net To me it looks like the linker has trouble with it somehow. Compiles OK, but fails in linking with the 'unhandled FORM value: 14' error. Again, it looks as if the routines in my_tempnam.c are not referenced anywhere in the extension, so to me it looks as if it would be safe to remove the source file. ------------------------------------------------------------------------ [2002-05-22 15:19:20] mfischer@php.net Does this mean by chance the gcc 3.1 treats this as an error what used to be a warning only in 2.9x ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17312 -- Edit this bug report at http://bugs.php.net/?id=17312&edit=1

« previous php.bugs (#12803) next »