[ 
https://issues.apache.org/jira/browse/STDCXX-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589907#action_12589907
 ] 

Farid Zaripov commented on STDCXX-595:
--------------------------------------

Merged in 4.2.x branch thus: 
http://svn.apache.org/viewvc?view=rev&revision=648752

> [EDG eccp/Linux] error with optimization on long long in <pthreadtypes.h>
> -------------------------------------------------------------------------
>
>                 Key: STDCXX-595
>                 URL: https://issues.apache.org/jira/browse/STDCXX-595
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: EDG eccp 3.10 with gcc 4.1.1-52.el5 on Red Hat 
> Enterprise Linux Server release 5 (Tikanga)
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>             Fix For: 4.2.1
>
>   Original Estimate: 4h
>          Time Spent: 1h
>  Remaining Estimate: 3h
>
> The library fails to compile with the EDG eccp demo on Linux in optimized 
> mode (see below). Since the EDG eccp demo is expected to be used only 
> (mainly?) for conformance testing I'm leaving the Priority at Major rather 
> than marking the issue a Blocker as would otherwise be the case, and 
> scheduling it for 4.2.1.
> From nightly build logs:
> {noformat}
> ### gmake builddir BUILDMODE=pthreads,archive,optimized,narrow 
> CONFIG=eccp.config
> creating BUILDDIR=/build2/batman/5.0.0/builds/34159501/source-buildspace/build
> generating 
> /build2/batman/5.0.0/builds/34159501/source-buildspace/build/makefile.in from 
> /build2/batman/5.0.0/builds/34159501/source-buildspace/etc/config/eccp.config
> build directory created: 
> BUILDDIR=/build2/batman/5.0.0/builds/34159501/source-buildspace/build
> ### gmake config
> gmake[1]: Entering directory `$(BUILDDIR)'
> gmake[2]: Entering directory `$(BUILDDIR)/include'
> gmake config
> gmake[3]: Entering directory `$(BUILDDIR)/include'
> configuring stdcxx 4.2.0 for eccp-3.9 on linux-2.6.18-8.el5xen-x86_64
> checking if the compiler is sane                   ok (invoked with eccp)
> checking if the linker is sane                     ok (invoked with eccp)
> checking system architecture                       ILP32 little endian
> ...
> gmake: Entering directory `$(BUILDDIR)/lib'
> eccp -c -I$(TOPDIR)/include/ansi   -D_REENTRANT -I$(TOPDIR)/include 
> -I$(BUILDDIR)/include  -A -x --template_directory=$(BUILDDIR)/lib -O   
> --display_error_number --remarks --diag_suppress 
> 193,236,340,401,261,479,487,678,679,815    $(TOPDIR)/src/assert.cpp
> eccp -c -I$(TOPDIR)/include/ansi   -D_REENTRANT -I$(TOPDIR)/include 
> -I$(BUILDDIR)/include  -A -x --template_directory=$(BUILDDIR)/lib -O   
> --display_error_number --remarks --diag_suppress 
> 193,236,340,401,261,479,487,678,679,815    $(TOPDIR)/src/bitset.cpp
> "/usr/include/bits/pthreadtypes.h", line 121: error #450-D: the type "long
>           long" is nonstandard
>       __extension__ unsigned long long int __total_seq;
>                                   ^
> "/usr/include/bits/pthreadtypes.h", line 122: error #450-D: the type "long
>           long" is nonstandard
>       __extension__ unsigned long long int __wakeup_seq;
>                                   ^
> "/usr/include/bits/pthreadtypes.h", line 123: error #450-D: the type "long
>           long" is nonstandard
>       __extension__ unsigned long long int __woken_seq;
>                                   ^
> "/usr/include/bits/pthreadtypes.h", line 129: error #450-D: the type "long
>           long" is nonstandard
>     __extension__ long long int __align;
>                        ^
> 4 errors detected in the compilation of "$(TOPDIR)/src/bitset.cpp".
> gmake: *** [bitset.o] Error 2
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to