Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348567 - dev-lang/php-5.3.3-r1 fails in crypt_r build due to typo in gcc name
Summary: dev-lang/php-5.3.3-r1 fails in crypt_r build due to typo in gcc name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=53530
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 21:41 UTC by SpanKY
Modified: 2011-01-29 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2010-12-12 21:41:50 UTC
the ext/standard/php_crypt_r.c file needs to be patched to check  "__GNUC_MINOR__" instead of "__GNUC_MINOR" otherwise it fails to build when atomic.h exists

ext/standard/php_crypt_r.o: In function `_crypt_extended_init_r':
php_crypt_r.c:(.text+0x3e9): undefined reference to `membar_producer'
php_crypt_r.c:(.text+0x3f6): undefined reference to `atomic_add_int'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2011-01-24 00:19:48 UTC
Thanks, fix will be part of the next php-patchset next week. I wonder why this hasn't made the cut for php-5.3.{4,5}
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2011-01-29 22:21:52 UTC
Patch is in our php-5.3.5-r1. Dunno why they didn't merge the fix into 5.3.4
We can probably drop the patch in 5.3.6

Thanks for catching this.