public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
@ 2011-08-22 14:55 danglin at gcc dot gnu.org
  2011-08-22 15:01 ` [Bug libstdc++/50153] " danglin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-08-22 14:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

             Bug #: 50153
           Summary: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:1
                    1: error: '::abs' has not been declared
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


/test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc
-nos
tdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
-L/test/gnu/
gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/gnu64/gcc/gcc-4.7/h
ppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/lib/
-isyst
em /opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gc
c-4.7/hppa64-hp-hpux11.11/sys-include    -x c++-header -nostdinc++ -g -O2
-I/tes
t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gc
c/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/test/gnu/gcc/gcc/libstdc++-v3/incl
ude/precompiled/stdc++.h \
        -o hppa64-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.
h:48:0:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11:
error: '::abs' has not been declared
In file included from
/test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:48:0:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11:
error: '::abs' has not been declared
make[5]: *** [hppa64-hp-hpux11.11/bits/stdc++.h.gch/O2g.gch] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [hppa64-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
@ 2011-08-22 15:01 ` danglin at gcc dot gnu.org
  2011-08-22 18:22 ` paolo.carlini at oracle dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-08-22 15:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-08-22 14:54:36 UTC ---
-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-4.7 --build=hppa64-hp-hpux11.11
--enable-threads=posix --disable-nls --with-gmp=/opt/gnu64/gcc/gmp
--with-libelf=/opt/gnu64 --enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 4.7.0 20110819 (experimental) [trunk revision 177913] (GCC)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
  2011-08-22 15:01 ` [Bug libstdc++/50153] " danglin at gcc dot gnu.org
@ 2011-08-22 18:22 ` paolo.carlini at oracle dot com
  2011-08-22 18:44 ` dave.anglin at bell dot net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-08-22 18:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-08-22 18:18:34 UTC ---
I don't understand: is this *new*? Is it related to the recent commits for
libstdc++/1773? (note, some don't appear in the trail because Rainer typoed
libstdc++ as libstdc++-v3 in the ChangeLog entry header). Maybe HPUX needs some
massaging similarly to Solaris?!?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
  2011-08-22 15:01 ` [Bug libstdc++/50153] " danglin at gcc dot gnu.org
  2011-08-22 18:22 ` paolo.carlini at oracle dot com
@ 2011-08-22 18:44 ` dave.anglin at bell dot net
  2011-08-22 23:20 ` sje at cup dot hp.com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dave.anglin at bell dot net @ 2011-08-22 18:44 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #3 from dave.anglin at bell dot net 2011-08-22 18:34:02 UTC ---
It is new and probably caused by the commit for libstdc++/1773.
I'm investigating.

Dave


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-08-22 18:44 ` dave.anglin at bell dot net
@ 2011-08-22 23:20 ` sje at cup dot hp.com
  2011-08-22 23:31 ` paolo.carlini at oracle dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sje at cup dot hp.com @ 2011-08-22 23:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

Steve Ellcey <sje at cup dot hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-08-22
     Ever Confirmed|0                           |1

--- Comment #4 from Steve Ellcey <sje at cup dot hp.com> 2011-08-22 22:57:08 UTC ---
It looks like this is caused by r177877, where libcpp was changed to
set __cplusplus to 199711L instead of 1.  I think this is interacting badly
with the HP system headers somehow.

The HP headers have checks for '__cplusplus < 199707L' and those checks
are going to be different now.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-08-22 23:20 ` sje at cup dot hp.com
@ 2011-08-22 23:31 ` paolo.carlini at oracle dot com
  2011-08-22 23:46 ` sje at cup dot hp.com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-08-22 23:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-08-22 23:19:45 UTC ---
Somebody knowledgeable of HPUX should see what needs to be done for that OS. I
suppose the changes figured out by Rainer & Marc for Solaris, a mix of
fixincludes + mangling changes via target hook + a bit of library work, should
be a good starting point for HPUX too:

  http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00833.html
  http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01396.html
  http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00835.html


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-08-22 23:31 ` paolo.carlini at oracle dot com
@ 2011-08-22 23:46 ` sje at cup dot hp.com
  2011-08-23 13:21 ` dave.anglin at bell dot net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sje at cup dot hp.com @ 2011-08-22 23:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #6 from Steve Ellcey <sje at cup dot hp.com> 2011-08-22 23:31:20 UTC ---
I am testing an inclhack.def header file fixup for abs.  I am not sure if any
of the other header files checks on __cplusplus will be a problem but fixing
the abs problem should get us bootstrapping again.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-08-22 23:46 ` sje at cup dot hp.com
@ 2011-08-23 13:21 ` dave.anglin at bell dot net
  2011-08-23 17:59 ` marc.glisse at normalesup dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dave.anglin at bell dot net @ 2011-08-23 13:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #7 from dave.anglin at bell dot net 2011-08-23 12:52:30 UTC ---
On 22-Aug-11, at 7:31 PM, sje at cup dot hp.com wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153
>
> --- Comment #6 from Steve Ellcey <sje at cup dot hp.com> 2011-08-22  
> 23:31:20 UTC ---
> I am testing an inclhack.def header file fixup for abs.  I am not  
> sure if any
> of the other header files checks on __cplusplus will be a problem  
> but fixing
> the abs problem should get us bootstrapping again.


Great!  Please install if change tests successfully.

Dave
--
John David Anglin    dave.anglin@bell.net


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2011-08-23 13:21 ` dave.anglin at bell dot net
@ 2011-08-23 17:59 ` marc.glisse at normalesup dot org
  2011-08-23 21:07 ` sje at cup dot hp.com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-08-23 17:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

Marc Glisse <marc.glisse at normalesup dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.glisse at normalesup
                   |                            |dot org

--- Comment #8 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-23 16:59:45 UTC ---
Looks similar to:
https://issues.apache.org/jira/browse/STDCXX-244
so fixinclude seems right.

Out of curiosity, what else depends on the value of __cplusplus in those
headers?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2011-08-23 17:59 ` marc.glisse at normalesup dot org
@ 2011-08-23 21:07 ` sje at cup dot hp.com
  2011-08-23 21:55 ` sje at gcc dot gnu.org
  2011-10-12 21:41 ` sje at cup dot hp.com
  10 siblings, 0 replies; 12+ messages in thread
From: sje at cup dot hp.com @ 2011-08-23 21:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #9 from Steve Ellcey <sje at cup dot hp.com> 2011-08-23 20:55:15 UTC ---
I think all I need to do is expand the existing hpux11_abs fixinclude rule
from 'ia64-hp-hpux11*' to '*-hp-hpux11*'  I am currently testing this.

The other checks for '__cplusplus < 199707L' in the header files don't
like like they should cause problems.  They set NULL to 0 (old) vs. 0L (new),
add a define for _WCHAR_T, and set some macros to specify that the long long
type is always available.  I think all those things should be OK.

I am testing my patch but had some system problems over night so I don't have a
complete bootstrap and test yet.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2011-08-23 21:07 ` sje at cup dot hp.com
@ 2011-08-23 21:55 ` sje at gcc dot gnu.org
  2011-10-12 21:41 ` sje at cup dot hp.com
  10 siblings, 0 replies; 12+ messages in thread
From: sje at gcc dot gnu.org @ 2011-08-23 21:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

--- Comment #10 from Steve Ellcey <sje at gcc dot gnu.org> 2011-08-23 21:32:37 UTC ---
Author: sje
Date: Tue Aug 23 21:32:34 2011
New Revision: 178018

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178018
Log:
2011-08-23  Steve Ellcey  <sje@cup.hp.com>

    PR libstdc++/50153
    * inclhack.def (hpux11_abs): Extend to all hpux machines.
    * fixincl.x: Regenerate.

Modified:
    trunk/fixincludes/ChangeLog
    trunk/fixincludes/fixincl.x
    trunk/fixincludes/inclhack.def


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
  2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2011-08-23 21:55 ` sje at gcc dot gnu.org
@ 2011-10-12 21:41 ` sje at cup dot hp.com
  10 siblings, 0 replies; 12+ messages in thread
From: sje at cup dot hp.com @ 2011-10-12 21:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153

Steve Ellcey <sje at cup dot hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #11 from Steve Ellcey <sje at cup dot hp.com> 2011-10-12 21:40:39 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-10-12 21:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 14:55 [Bug libstdc++/50153] New: hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared danglin at gcc dot gnu.org
2011-08-22 15:01 ` [Bug libstdc++/50153] " danglin at gcc dot gnu.org
2011-08-22 18:22 ` paolo.carlini at oracle dot com
2011-08-22 18:44 ` dave.anglin at bell dot net
2011-08-22 23:20 ` sje at cup dot hp.com
2011-08-22 23:31 ` paolo.carlini at oracle dot com
2011-08-22 23:46 ` sje at cup dot hp.com
2011-08-23 13:21 ` dave.anglin at bell dot net
2011-08-23 17:59 ` marc.glisse at normalesup dot org
2011-08-23 21:07 ` sje at cup dot hp.com
2011-08-23 21:55 ` sje at gcc dot gnu.org
2011-10-12 21:41 ` sje at cup dot hp.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).