HEAD does not compile with GCC 4.0.1

php.internals

Sebastian Bergmann

21 years ago
/usr/local/src/php/php-5.1/Zend/zend_execute.c:47: error: 'zend_error_noreturn' aliased to external symbol 'zend_error'
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Dmitry Stogov

21 years ago
Hi, Is GCC 4.0.1 already released? Did you try GCC 4.0.0? Something was changed in GCC. The error message is proper, but I don't understand why this became a error. Probably I'll need to take advice from somebody of GCC developers. Thanks. Dmitry.

Jani Taskinen

21 years ago
See also http://bugs.php.net/bug.php?id=33212&edit=1 --Jani On Mon, 13 Jun 2005, Dmitry Stogov wrote:
> Hi, > > Is GCC 4.0.1 already released? > Did you try GCC 4.0.0? > > Something was changed in GCC. > The error message is proper, but I don't understand why this became a error. > Probably I'll need to take advice from somebody of GCC developers. > > Thanks. Dmitry. > >> -----Original Message----- >> From: news [mailto:news@sea.gmane.org] On Behalf Of Sebastian Bergmann >> Sent: Monday, June 13, 2005 10:39 AM >> To: internals@lists.php.net >> Subject: [PHP-DEV] HEAD does not compile with GCC 4.0.1 >> >> >> /usr/local/src/php/php-5.1/Zend/zend_execute.c:47: >> error: 'zend_error_noreturn' aliased to external symbol 'zend_error' >> >> -- >> Sebastian Bergmann >> http://www.sebastian-bergmann.de/ >> GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 >> C514 B85B 5D69 >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >
-- Donate @ http://pecl.php.net/wishlist.php/sniper

Andi Gutmans

21 years ago
Dmitry, Maybe for the beta we should have an #if ZEND_GCC_VERSION > of the 4.0.1 version number so that it compiles. In parallel, we should try and get in touch with gcc developers list and see why they broke this. What do you think? Andi At 11:59 AM 6/13/2005 +0300, Jani Taskinen wrote:

Marcus Boerger

21 years ago
Hello Andi, they funnily added the ability to specify the compiler 'flavor'. Meaning you are able to specify how the compiler should treat your code in terms of c-spcs and compiler additions being used to spcifically force certain behavior of a certain version. Since we are developing against C99 we might want to specify that flavor. This is also a good idea because they say that as soon as they have full c99 support that will be the default. marcus Monday, June 13, 2005, 5:22:12 PM, you wrote:
> Dmitry,
> Maybe for the beta we should have an #if ZEND_GCC_VERSION > of the 4.0.1 > version number so that it compiles. In parallel, we should try and get in > touch with gcc developers list and see why they broke this.
> What do you think? > Andi
> At 11:59 AM 6/13/2005 +0300, Jani Taskinen wrote:
>> See also http://bugs.php.net/bug.php?id=33212&edit=1 >> >> --Jani >> >>On Mon, 13 Jun 2005, Dmitry Stogov wrote: >> >>>Hi, >>> >>>Is GCC 4.0.1 already released? >>>Did you try GCC 4.0.0? >>> >>>Something was changed in GCC. >>>The error message is proper, but I don't understand why this became a error. >>>Probably I'll need to take advice from somebody of GCC developers. >>> >>>Thanks. Dmitry. >>> >>>>-----Original Message----- >>>>From: news [mailto:news@sea.gmane.org] On Behalf Of Sebastian Bergmann >>>>Sent: Monday, June 13, 2005 10:39 AM >>>>To: internals@lists.php.net >>>>Subject: [PHP-DEV] HEAD does not compile with GCC 4.0.1 >>>> >>>> >>>> /usr/local/src/php/php-5.1/Zend/zend_execute.c:47: >>>> error: 'zend_error_noreturn' aliased to external symbol 'zend_error' >>>> >>>>-- >>>>Sebastian Bergmann >>>>http://www.sebastian-bergmann.de/ >>>>GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 >>>>C514 B85B 5D69 >>>> >>>>-- >>>>PHP Internals - PHP Runtime Development Mailing List >>>>To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>> >> >>-- >>Donate @ http://pecl.php.net/wishlist.php/sniper >> >>-- >>PHP Internals - PHP Runtime Development Mailing List >>To unsubscribe, visit: http://www.php.net/unsub.php
-- Best regards, Marcus mailto:mail@marcus-boerger.de

Sebastian Bergmann

21 years ago
Sebastian Bergmann wrote:
> /usr/local/src/php/php-5.1/Zend/zend_execute.c:47: > error: 'zend_error_noreturn' aliased to external symbol 'zend_error'
Forgot to add: This is with GCC 4.0.1-pre20050607.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Andi Gutmans

21 years ago
Ignore my previous email. I see you are ahead of me :) At 11:04 AM 6/13/2005 +0400, Dmitry Stogov wrote: