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 02:30:47 UTC

[jira] Assigned: (STDCXX-736) [EDG eccp 3.9] errors compiling utilities

     [ https://issues.apache.org/jira/browse/STDCXX-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-736:
-----------------------------------

    Assignee: Martin Sebor

> [EDG eccp 3.9] errors compiling utilities
> -----------------------------------------
>
>                 Key: STDCXX-736
>                 URL: https://issues.apache.org/jira/browse/STDCXX-736
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 4.2.0
>         Environment: EDG eccp on Linux with gcc for back end.
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Here's a complete listing of all the errors in an 11s build with eccp 3.9 on top of gcc 4.1.2 on Fedora 8:
> {noformat}
> make: Entering directory `/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/bin'
> eccp -c -I/home/sebor/stdcxx-4.2.0/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-4.2.0/include -I/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-4.2.0-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-4.2.0/util/cmdopt.cpp
> "/home/sebor/stdcxx-4.2.0/util/cmdopt.cpp", line 181: error #70: incomplete
>           type is not allowed
>       struct sigaction act;
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/cmdopt.cpp", line 191: error #70: incomplete
>           type is not allowed
>       return 0 > sigaction (signo, &act, 0);
>                  ^
> "/home/sebor/stdcxx-4.2.0/util/cmdopt.cpp", line 191: error #18: expected a ")"
>       return 0 > sigaction (signo, &act, 0);
>                                  ^
> 3 errors detected in the compilation of "/home/sebor/stdcxx-4.2.0/util/cmdopt.cpp".
> make: *** [cmdopt.o] Error 2
> eccp -c -I/home/sebor/stdcxx-4.2.0/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-4.2.0/include -I/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-4.2.0-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-4.2.0/util/exec.cpp
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 391: error #20: identifier
>           "SIGALRM" is undefined
>       if (SIGALRM == signo)
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 442: error #20: identifier
>           "SIGHUP" is undefined
>           SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGKILL, SIGKILL
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 442: error #20: identifier
>           "SIGQUIT" is undefined
>           SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGKILL, SIGKILL
>                           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 442: error #20: identifier
>           "SIGKILL" is undefined
>           SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGKILL, SIGKILL
>                                             ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 447: error #70: incomplete type
>           is not allowed
>       struct sigaction act;
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 477: error #70: incomplete type
>           is not allowed
>       sigaction (SIGALRM, &act, 0);
>       ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 477: error #20: identifier
>           "SIGALRM" is undefined
>       sigaction (SIGALRM, &act, 0);
>                  ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 477: error #18: expected a ")"
>       sigaction (SIGALRM, &act, 0);
>                         ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 487: error #70: incomplete type
>           is not allowed
>       sigaction (SIGHUP, &act, 0);
>       ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 487: error #18: expected a ")"
>       sigaction (SIGHUP, &act, 0);
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 488: error #70: incomplete type
>           is not allowed
>       sigaction (SIGINT, &act, 0);
>       ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 488: error #18: expected a ")"
>       sigaction (SIGINT, &act, 0);
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 489: error #70: incomplete type
>           is not allowed
>       sigaction (SIGQUIT, &act, 0);
>       ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 489: error #18: expected a ")"
>       sigaction (SIGQUIT, &act, 0);
>                         ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 490: error #70: incomplete type
>           is not allowed
>       sigaction (SIGTERM, &act, 0);
>       ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 490: error #18: expected a ")"
>       sigaction (SIGTERM, &act, 0);
>                         ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 525: error #20: identifier
>           "EINTR" is undefined
>               if (EINTR == errno && alarm_timeout) {
>                   ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 537: error #20: identifier
>           "kill" is undefined
>                   if (0 != kill (-child_pid, signals [siginx])) {
>                            ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 538: error #20: identifier
>           "ESRCH" is undefined
>                       if (ESRCH == errno)
>                           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 586: error #20: identifier
>           "EINVAL" is undefined
>               else if (EINVAL == errno) {
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 593: error #20: identifier
>           "ECHILD" is undefined
>               else if (ECHILD == errno) {
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 618: error #20: identifier
>           "kill" is undefined
>       while (siginx < sigcount && 0 == kill (-child_pid, signals [siginx])) {
>                                        ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 627: error #70: incomplete type
>           is not allowed
>           sigaction (SIGHUP, &act, 0);
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 627: error #18: expected a ")"
>           sigaction (SIGHUP, &act, 0);
>                            ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 628: error #70: incomplete type
>           is not allowed
>           sigaction (SIGINT, &act, 0);
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 628: error #18: expected a ")"
>           sigaction (SIGINT, &act, 0);
>                            ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 629: error #70: incomplete type
>           is not allowed
>           sigaction (SIGQUIT, &act, 0);
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 629: error #18: expected a ")"
>           sigaction (SIGQUIT, &act, 0);
>                             ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 630: error #70: incomplete type
>           is not allowed
>           sigaction (SIGTERM, &act, 0);
>           ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 630: error #18: expected a ")"
>           sigaction (SIGTERM, &act, 0);
>                             ^
> "/home/sebor/stdcxx-4.2.0/util/exec.cpp", line 811: error #20: identifier
>           "fdopen" is undefined
>               error_file = fdopen (error_cache,"a");
>                            ^
> 31 errors detected in the compilation of "/home/sebor/stdcxx-4.2.0/util/exec.cpp".
> make: *** [exec.o] Error 2
> eccp -c -I/home/sebor/stdcxx-4.2.0/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-4.2.0/include -I/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-4.2.0-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-4.2.0/util/locale.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;
>                        ^
> "/home/sebor/stdcxx-4.2.0/util/locale.cpp", line 780: warning #177-D: function
>           "print_c_lc_collate" was declared but never referenced
>   print_c_lc_collate ()
>   ^
> "/home/sebor/stdcxx-4.2.0/util/locale.cpp", line 788: warning #177-D: function
>           "get_wchar_from_offset" was declared but never referenced
>   get_wchar_from_offset(unsigned int offset,
>   ^
> 4 errors detected in the compilation of "/home/sebor/stdcxx-4.2.0/util/locale.cpp".
> make: *** [locale.o] Error 2
> eccp -c -I/home/sebor/stdcxx-4.2.0/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-4.2.0/include -I/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-4.2.0-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-4.2.0/util/aliases.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 "/home/sebor/stdcxx-4.2.0/util/aliases.cpp".
> make: *** [aliases.o] Error 2
> eccp -c -I/home/sebor/stdcxx-4.2.0/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-4.2.0/include -I/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include  -A -x --template_directory=/build/sebor/stdcxx-4.2.0-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-4.2.0/util/memchk.cpp
> "/home/sebor/stdcxx-4.2.0/util/memchk.cpp", line 87: error #20: identifier
>           "getpagesize" is undefined
>           size = getpagesize ();
>                  ^
> 1 error detected in the compilation of "/home/sebor/stdcxx-4.2.0/util/memchk.cpp".
> make: *** [memchk.o] Error 2
> make: Target `all' not remade because of errors.
> make: Leaving directory `/build/sebor/stdcxx-4.2.0-eccp-3.9-11s/bin'
> {noformat}

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