Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189688 - dev-lang/php-5.2.4_pre200708051230-r2 - compilation error : relocation truncated to fit: R_X86_64_PC32
Summary: dev-lang/php-5.2.4_pre200708051230-r2 - compilation error : relocation trunca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 10:35 UTC by olivM
Modified: 2009-04-20 18:00 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,2.98 KB, text/plain)
2007-08-21 10:36 UTC, olivM
Details
build.log (build.log,624.54 KB, text/plain)
2007-08-21 12:07 UTC, olivM
Details
build log after emerge (build.log,504.31 KB, text/plain)
2007-09-11 22:19 UTC, Safak Oekmen
Details
emerge --info (output,3.88 KB, text/plain)
2007-09-11 22:21 UTC, Safak Oekmen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description olivM 2007-08-21 10:35:49 UTC
i get some error when trying to compile dev-lang/php5

i also with different package version (5.1, 5.2, ...)
and i always get similars errors (relocation truncated to fit: R_X86_64_PC32 ...)



ext/dom/node.o: In function `dom_node_attributes_read':
node.c:(.text+0x294d): relocation truncated to fit: R_X86_64_PC32 against symbol `php_dom_throw_error' defined in .text section in ext/dom/domexception.o
regex/regerror.o: In function `php_regerror':
regerror.c:(.text+0x20): relocation truncated to fit: R_X86_64_PC32 against `.data'
ext/standard/ftp_fopen_wrapper.o: In function `php_ftp_dirstream_close':
ftp_fopen_wrapper.c:(.text+0x34): relocation truncated to fit: R_X86_64_PC32 against symbol `_php_stream_free' defined in .text section in main/streams/streams.o
main/streams/cast.o: In function `_php_stream_make_seekable':
cast.c:(.text+0x40): relocation truncated to fit: R_X86_64_PC32 against symbol `_php_stream_fopen_tmpfile' defined in .text section in main/streams/plain_wrapper.o
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-lang/php-5.2.4_pre200708051230-r2 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  php-5.2.4_pre200708051230-r2.ebuild, line 188:   Called src_compile_normal
  php-5.2.4_pre200708051230-r2.ebuild, line 330:   Called php5_2-sapi_src_compile
  php5_2-sapi.eclass, line 611:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/home/tmp/portage/dev-lang/php-5.2.4_pre200708051230-r2/temp/build.log'.
Comment 1 olivM 2007-08-21 10:36:55 UTC
Created attachment 128753 [details]
emerge --info
Comment 2 SpanKY gentoo-dev 2007-08-21 11:47:54 UTC
post the full build log from php as an attachment
Comment 3 olivM 2007-08-21 12:07:04 UTC
Created attachment 128762 [details]
build.log
Comment 4 Safak Oekmen 2007-09-11 22:19:45 UTC
Created attachment 130656 [details]
build log after emerge
Comment 5 Safak Oekmen 2007-09-11 22:21:05 UTC
Created attachment 130657 [details]
emerge --info
Comment 6 Safak Oekmen 2007-09-11 22:21:27 UTC
I have the same problem.
Comment 7 shade 2008-02-14 12:24:45 UTC
Is there need for thes ebuild any more? Newer version 5.2.5-r1 is marked as stable, so Can it be deleted from portage?
Comment 8 Christian Hoffmann (RETIRED) gentoo-dev 2008-02-16 14:41:11 UTC
(In reply to comment #7)
> Is there need for thes ebuild any more? Newer version 5.2.5-r1 is marked as
> stable, so Can it be deleted from portage?
Someone (Chainsaw) asked me to retain it for some time as php-5.2.5 caused some MySQL-related breakage for him. I'll remove it once this regression is sorted out. :)

In general, I'd prefer if we could handle such requests by email or IRC, it's not exactly appropriate to use this bug. ;)

Thanks for the hint anyway.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 21:08:21 UTC
We are not going to fix anything for this; if you can reproduce this w/ 5.2.6_rc1-r1 feel free to re-CC us.
Comment 10 Mark Loeser (RETIRED) gentoo-dev 2009-04-20 18:00:23 UTC
This appears to have "fixed" itself...