You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2009/01/04 22:29:44 UTC
[jira] Created: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
[gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
----------------------------------------------------------------------------
Key: STDCXX-1029
URL: https://issues.apache.org/jira/browse/STDCXX-1029
Project: C++ Standard Library
Issue Type: Bug
Components: Build and Installation
Affects Versions: 4.2.x
Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Reporter: Martin Sebor
Assignee: Martin Sebor
Fix For: 4.2.2
stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
{noformat}
gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
-D_RWSTDDEBUG -pthread \
-I/amd/homes/sebor/stdcxx-4.2.1/include \
-I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
-pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
/amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
/amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
/amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
/amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
make[2]: *** [bitset.o] Error 1
make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
make: *** [libstd] Error 2
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660633#action_12660633 ]
Martin Sebor commented on STDCXX-1029:
--------------------------------------
The config test responsible for #defining these macros (among others) fails to compile with the following error caused by gcc 4.3.1 bug [37405|http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405]:
{noformat}
gcc -D_RWSTDDEBUG -pthread -I. -pedantic -nostdinc++ -g \
-W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -c \
/amd/homes/sebor/stdcxx-4.2.1/etc/config/src/UNISTD_DECL.cpp \
-o UNISTD_DECL.o
In file included from /usr/include/fcntl.h:37,
from /amd/homes/sebor/stdcxx-4.2.1/etc/config/src/UNISTD_DECL.c
pp:28:
/amd/devco/contrib/linux/gcc-4.3.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.1
/include-fixed/sys/stat.h:345: error: expected initializer before '__wur'
{noformat}
> [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
> ----------------------------------------------------------------------------
>
> Key: STDCXX-1029
> URL: https://issues.apache.org/jira/browse/STDCXX-1029
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build and Installation
> Affects Versions: 4.2.x
> Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
> {noformat}
> gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
> -D_RWSTDDEBUG -pthread \
> -I/amd/homes/sebor/stdcxx-4.2.1/include \
> -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
> -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
> /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
> In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
> from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
> from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
> make[2]: *** [bitset.o] Error 1
> make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
> make: *** [libstd] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-1029.
--------------------------------
Resolution: Invalid
Changes reverted in rev [744581 | http://svn.apache.org/viewvc?rev=744581&view=rev].
Closing as Invalid.
> [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
> ----------------------------------------------------------------------------
>
> Key: STDCXX-1029
> URL: https://issues.apache.org/jira/browse/STDCXX-1029
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build and Installation
> Affects Versions: 4.2.1
> Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Time Spent: 1h
> Remaining Estimate: 1h
>
> stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
> {noformat}
> gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
> -D_RWSTDDEBUG -pthread \
> -I/amd/homes/sebor/stdcxx-4.2.1/include \
> -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
> -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
> /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
> In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
> from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
> from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
> make[2]: *** [bitset.o] Error 1
> make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
> make: *** [libstd] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-1029.
----------------------------------
Resolution: Fixed
Library builds successfully.
> [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
> ----------------------------------------------------------------------------
>
> Key: STDCXX-1029
> URL: https://issues.apache.org/jira/browse/STDCXX-1029
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build and Installation
> Affects Versions: 4.2.1
> Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Time Spent: 1h
> Remaining Estimate: 1h
>
> stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
> {noformat}
> gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
> -D_RWSTDDEBUG -pthread \
> -I/amd/homes/sebor/stdcxx-4.2.1/include \
> -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
> -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
> /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
> In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
> from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
> from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
> make[2]: *** [bitset.o] Error 1
> make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
> make: *** [libstd] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor reopened STDCXX-1029:
----------------------------------
As indicated in gcc bug #[37405 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405] the compiler error is due to an incorrect gcc installation. Reopening to revert committed changes.
> [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
> ----------------------------------------------------------------------------
>
> Key: STDCXX-1029
> URL: https://issues.apache.org/jira/browse/STDCXX-1029
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build and Installation
> Affects Versions: 4.2.1
> Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Time Spent: 1h
> Remaining Estimate: 1h
>
> stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
> {noformat}
> gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
> -D_RWSTDDEBUG -pthread \
> -I/amd/homes/sebor/stdcxx-4.2.1/include \
> -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
> -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
> /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
> In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
> from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
> from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
> make[2]: *** [bitset.o] Error 1
> make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
> make: *** [libstd] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-1029) [gcc 4.3.1] build error:
_RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-1029:
---------------------------------
Affects Version/s: (was: 4.2.x)
4.2.1
This affects both the head of 4.2.x and 4.2.1.
> [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
> ----------------------------------------------------------------------------
>
> Key: STDCXX-1029
> URL: https://issues.apache.org/jira/browse/STDCXX-1029
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build and Installation
> Affects Versions: 4.2.1
> Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:
> {noformat}
> gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
> -D_RWSTDDEBUG -pthread \
> -I/amd/homes/sebor/stdcxx-4.2.1/include \
> -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
> -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \
> /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
> In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
> from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
> from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
> /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
> make[2]: *** [bitset.o] Error 1
> make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
> make: *** [libstd] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.