php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18644 bc_math.log linker error
Submitted: 2002-07-30 08:49 UTC Modified: 2002-11-01 01:00 UTC
Votes:4
Avg. Score:4.0 ± 1.0
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: msopacua at idg dot nl Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4-STABLE-CVS-20020820 OS: AIX 4.3.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: msopacua at idg dot nl
New email:
PHP Version: OS:

 

 [2002-07-30 08:49 UTC] msopacua at idg dot nl
ld: 0711-161 ERROR: File ext/bcmath/bcmath.lo cannot be processed.
        The file was found to be truncated and is being ignored.
collect2: ld returned 8 exit status

No warnings on this issue.

STABLE branch reports:
ld: 0711-224 WARNING: Duplicate symbol: _bc_Free_list
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-224 WARNING: Duplicate symbol: _bc_Free_list
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

but compiles.

Autoconf 2.13
Automake 1.5
Libtool 1.4.2

AIX binutils, gcc 2.95.2.1 package install.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-31 04:25 UTC] nohn@php.net
Could not verify this with 4CVS-2002-07-31 on Compaq Tru64, so it seems not to be an 64Bit-Issue.

Do you have any testcases for this I can run to test if the extension is working as expected?
 [2002-07-31 06:09 UTC] nohn@php.net
I've written some testcases for myself. They all seem to work fine.
 [2002-08-11 12:02 UTC] nohn@php.net
do you still have this problem with current cvs-version?
 [2002-08-20 18:49 UTC] msopacua at idg dot nl
Hmm, now the STABLE branch also gives an error, since today.

Seems that permissions are set without a read flag, resulting in a permission defined when linking.
autoconf 2.13, automake 1.5 and libtool 1.4.

mdev@femke ~/_src/php-STABLE
$ ls -al ext/bcmath/libbcmath/.libs/libbcmath.lax/libbcmath.a       
total 208
drwxr-xr-x   2 mdev     staff        512 Aug 21 00:33 .
drwxr-xr-x   3 mdev     staff        512 Aug 21 00:33 ..
--w-----w-   1 mdev     staff       1487 Aug 21 00:33 add.o
--w-----w-   1 mdev     staff       1504 Aug 21 00:33 compare.o
--w-----w-   1 mdev     staff       1908 Aug 21 00:33 debug.o
--w-----w-   1 mdev     staff       3483 Aug 21 00:33 div.o
--w-----w-   1 mdev     staff       1813 Aug 21 00:33 divmod.o
--w-----w-   1 mdev     staff       2574 Aug 21 00:33 doaddsub.o
--w-----w-   1 mdev     staff       2728 Aug 21 00:33 init.o
--w-----w-   1 mdev     staff       1259 Aug 21 00:33 int2num.o
--w-----w-   1 mdev     staff        945 Aug 21 00:33 nearzero.o
--w-----w-   1 mdev     staff        823 Aug 21 00:33 neg.o
--w-----w-   1 mdev     staff        957 Aug 21 00:33 num2long.o
--w-----w-   1 mdev     staff       1218 Aug 21 00:33 num2str.o
--w-----w-   1 mdev     staff       1191 Aug 21 00:33 outofmem.o
--w-----w-   1 mdev     staff       4058 Aug 21 00:33 output.o
--w-----w-   1 mdev     staff       2216 Aug 21 00:33 raise.o
--w-----w-   1 mdev     staff       2600 Aug 21 00:33 raisemod.o
--w-----w-   1 mdev     staff       5610 Aug 21 00:33 recmul.o
--w-----w-   1 mdev     staff        920 Aug 21 00:33 rmzero.o
--w-----w-   1 mdev     staff       1643 Aug 21 00:33 rt.o
--w-----w-   1 mdev     staff       2666 Aug 21 00:33 sqrt.o
--w-----w-   1 mdev     staff       1758 Aug 21 00:33 str2num.o
--w-----w-   1 mdev     staff       1503 Aug 21 00:33 sub.o
--w-----w-   1 mdev     staff        982 Aug 21 00:33 zero.o
 [2002-10-16 14:29 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-01 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2003-01-13 10:46 UTC] phpbug at zendo dot net
ld: 0711-161 ERROR: File ext/ctype/ctype.lo cannot be processed.
        The file was found to be truncated and is being ignored.
collect2: ld returned 8ld exit status:
 0711-161 ERROR: File ext/ctype/ctype.lo cannot be processed.
        The file was found to be truncated and is being ignored.
collect2: ld returned 8 exit status

I get this error when compiling php 4.3.0 or the cvs snapshot for today (jan 13th 2003) on AIX 5.2, sounds like the same error but the latest snapshot does not fix it.

gcc-2.9.aix51.020209-1
libtool-1.4.2-1
make-3.79.1-3
automake-1.5-1
autoconf-2.53-1

If anyone knows how to get past this please email me
phpbug@zendo.net
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 17:01:30 2024 UTC