Issue Details (XML | Word | Printable)

Key: STDCXX-1038
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jaroslaw Zola
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[Como como-4.3.10.1] library fails to build due to problems with .depend/atomic-cxx.d

Created: 13/Aug/09 07:26 PM   Updated: 14/Aug/09 04:24 PM
Return to search
Component/s: Configuration
Affects Version/s: 4.2.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File signature.asc 2009-08-14 04:10 PM Jaroslaw Zola 0.2 kB
Text File signature.asc 2009-08-14 03:06 PM Jaroslaw Zola 0.2 kB
Environment: Linux 2.6.30-gentoo-r1-perfctr #5 SMP PREEMPT Thu Jun 25 10:39:31 CDT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

Severity: Incorrect Behavior


 Description  « Hide
stdcxx 4.2.1 as well as the head of trunk fail to build with 32bit version of como-4.3.10.1 on Linux-2.6.30 on x86_64.

$ gmake BUILDTYPE=12s CONFIG=como.config

creating BUILDDIR=/opt/src/stdcxx-4.2.1/build
generating /opt/src/stdcxx-4.2.1/build/makefile.in from /opt/src/stdcxx-4.2.1/etc/config/como.config
gmake[1]: Entering directory `/opt/src/stdcxx-4.2.1/build'
gmake[2]: Entering directory `/opt/src/stdcxx-4.2.1/build/include'
gmake config
gmake[3]: Entering directory `/opt/src/stdcxx-4.2.1/build/include'

configuring stdcxx 4.2.1 for como-4.3.10.1 on linux-2.6.30-gentoo-r1-perfctr-x86_64

checking if the compiler is sane ok (invoked with como)
checking if the linker is sane ok (invoked with como)
checking system architecture ILP32 little endian
...
gmake[2]: Leaving directory `/opt/src/stdcxx-4.2.1/build/lib'
gmake[2]: Entering directory `/opt/src/stdcxx-4.2.1/build/lib'
.depend/atomic-cxx.d:1: *** multiple target patterns. Stop.
gmake[2]: Leaving directory `/opt/src/stdcxx-4.2.1/build/lib'
gmake[1]: *** [lib] Error 2
gmake[1]: Leaving directory `/opt/src/stdcxx-4.2.1/build'
gmake: *** [libstd] Error 2



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Farid Zaripov added a comment - 14/Aug/09 10:54 AM
This issue looks very similar to STDCXX-481.

Could you please provide the output of the "como -M /opt/src/stdcxx-4.2.1/src/atomic-cxx.S" command?


Jaroslaw Zola added a comment - 14/Aug/09 03:06 PM - edited
Interesting, it looks like como does not recognize .S extensions:

$ como -M /opt/src/stdcxx-4.2.1/src/atomic-cxx.S
como: unrecognizable argument: /opt/src/stdcxx-4.2.1/src/atomic-cxx.S
como: no source, object, or library files were specified

$ ls -la /opt/src/stdcxx-4.2.1/src/atomic-cxx.S

rw-rw-r- 1 root root 1212 2008-04-24
19:25 /opt/src/stdcxx-4.2.1/src/atomic-cxx.S

$ cat /opt/src/stdcxx-4.2.1/build/lib/.depend/atomic-cxx.d
como: unrecognizable argument: $(TOPDIR)/src/atomic-cxx.S
como: no source, object, or library files were specified

It looks like when reporting this bug I checked incorrect version (generated by other compiler) of .depend/atomic-cxx.d. After changing como to recognize .S extensions this problem disappears.

This bug can be closed.


Farid Zaripov added a comment - 14/Aug/09 03:38 PM
Are you sure that the problem is gone? Can you try to make a clean build?

I don't have the como to verify, but I suppose there still should be problems with compiling the atomic-cxx.S file.

Perhaps we need to change como.config the same way as eccp.config in this patch, since the como and eccp are using the same frontend.


Jaroslaw Zola added a comment - 14/Aug/09 04:10 PM
I still can't get clean build, however, now I am running into exactly
the same problem as this one
http://issues.apache.org/jira/browse/STDCXX-822. I don't think it is
related to atomic-cxx.S. I can provide configuration output, etc.
A quick grep for _RWSTD_VA_LIST shows that it is not defined indeed.

Farid Zaripov added a comment - 14/Aug/09 04:24 PM
I sure that the last problem is not related to atomic-cxx.S.

Could you please open an another issue and attach the generated makefile.in, config.h and config.log files?