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 2008/02/20 01:46:43 UTC

[jira] Created: (STDCXX-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

[EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
-------------------------------------------------------

                 Key: STDCXX-735
                 URL: https://issues.apache.org/jira/browse/STDCXX-735
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Test Driver
    Affects Versions: trunk
         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
            Reporter: Martin Sebor
            Priority: Critical
             Fix For: trunk


Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:

{noformat}
eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
"/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
          "SIGALRM" is undefined
          prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
                                       ^

"/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
          "EINTR" is undefined
              if (EINTR == errno && alarm_timeout) {
                  ^

"/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
          "SIGALRM" is undefined
          signal (SIGALRM, prev_alarm_handler);
                  ^

3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
{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-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575190#action_12575190 ] 

Travis Vitek commented on STDCXX-735:
-------------------------------------

Merged to 4.2.x from trunk in [r633703|http://svn.apache.org/viewvc?rev=633703]

> [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
> -------------------------------------------------------
>
>                 Key: STDCXX-735
>                 URL: https://issues.apache.org/jira/browse/STDCXX-735
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: trunk
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:
> {noformat}
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
> "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
>           "SIGALRM" is undefined
>           prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
>                                        ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
>           "SIGALRM" is undefined
>           signal (SIGALRM, prev_alarm_handler);
>                   ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
> {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-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor resolved STDCXX-735.
---------------------------------

    Resolution: Fixed

Fixed with [r629291|http://svn.apache.org/viewvc?rev=629291&view=rev]. Need to merge it to 4.2.x. See also STDCXX-625.

> [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
> -------------------------------------------------------
>
>                 Key: STDCXX-735
>                 URL: https://issues.apache.org/jira/browse/STDCXX-735
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: trunk
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:
> {noformat}
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
> "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
>           "SIGALRM" is undefined
>           prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
>                                        ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
>           "SIGALRM" is undefined
>           signal (SIGALRM, prev_alarm_handler);
>                   ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
> {noformat}

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


[jira] Assigned: (STDCXX-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-735:
-----------------------------------

    Assignee: Martin Sebor

> [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
> -------------------------------------------------------
>
>                 Key: STDCXX-735
>                 URL: https://issues.apache.org/jira/browse/STDCXX-735
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: trunk
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:
> {noformat}
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
> "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
>           "SIGALRM" is undefined
>           prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
>                                        ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
>           "SIGALRM" is undefined
>           signal (SIGALRM, prev_alarm_handler);
>                   ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
> {noformat}

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


[jira] Issue Comment Edited: (STDCXX-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575190#action_12575190 ] 

vitek edited comment on STDCXX-735 at 3/4/08 3:27 PM:
-------------------------------------------------------------

Merged to 4.2.x from trunk in [r633703|http://svn.apache.org/viewvc?view=rev&revision=633703]

      was (Author: vitek):
    Merged to 4.2.x from trunk in [r633703|http://svn.apache.org/viewvc?rev=633703]
  
> [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
> -------------------------------------------------------
>
>                 Key: STDCXX-735
>                 URL: https://issues.apache.org/jira/browse/STDCXX-735
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Critical
>             Fix For: trunk
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:
> {noformat}
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
> "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
>           "SIGALRM" is undefined
>           prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
>                                        ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
>           "SIGALRM" is undefined
>           signal (SIGALRM, prev_alarm_handler);
>                   ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
> {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-735) [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570514#action_12570514 ] 

Martin Sebor commented on STDCXX-735:
-------------------------------------

Revision [618385| http://svn.apache.org/viewvc?view=rev&revision=618385] looks like the likely culprit behind this regression. We really need to do something to make it easier to avoid these kinds of problems in the driver. Maybe {{#define}} all the {{EXXX}} and {{SIGXXX}} macros for EDG eccp for the known platforms (Linux, Solaris, and Windows) in {{[testdefs.h|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/include/testdefs.h]}}.

> [EDG eccp 3.9] error on SIGALRM in test/src/process.cpp
> -------------------------------------------------------
>
>                 Key: STDCXX-735
>                 URL: https://issues.apache.org/jira/browse/STDCXX-735
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9 on Linux with gcc 4.1.2 on the back end.
>            Reporter: Martin Sebor
>            Priority: Critical
>             Fix For: trunk
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Building the test driver on the latest trunk with EDG eccp fails with the error below. This is a regression:
> {noformat}
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx/tests/src/process.cpp
> "/home/sebor/stdcxx/tests/src/process.cpp", line 560: error #20: identifier
>           "SIGALRM" is undefined
>           prev_alarm_handler = signal (SIGALRM, handle_alarm_signal);
>                                        ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 580: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx/tests/src/process.cpp", line 652: error #20: identifier
>           "SIGALRM" is undefined
>           signal (SIGALRM, prev_alarm_handler);
>                   ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx/tests/src/process.cpp".
> {noformat}

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