* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
@ 2012-03-21 13:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 15:05 ` dave.anglin at bell dot net
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 13:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:09:44 UTC ---
This is from my Tru64 UNIX removal patch. Could you please check if
IPPROTO_IPV6 and/or IPV6_MULTICAST_IF are defined in any system header
or if this another case of partial IPv6 support?
Thanks.
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
2012-03-21 13:13 ` [Bug libgcj/52645] " ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 15:05 ` dave.anglin at bell dot net
2012-03-21 15:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-03-21 15:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #2 from dave.anglin at bell dot net 2012-03-21 14:43:57 UTC ---
On 3/21/2012 9:09 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
>
> --- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE<ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 13:09:44 UTC ---
> This is from my Tru64 UNIX removal patch. Could you please check if
> IPPROTO_IPV6 and/or IPV6_MULTICAST_IF are defined in any system header
> or if this another case of partial IPv6 support?
IPPROTO_IPV6 and IPV6_MULTICAST_IF are not defined in any system header
on HP-UX 11.00. As far as I can tell, there is no IPv6 support.
On HP-UX 11.11, the defines are in netinet/in6.h.
Dave
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
2012-03-21 13:13 ` [Bug libgcj/52645] " ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 15:05 ` dave.anglin at bell dot net
@ 2012-03-21 15:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 16:29 ` dave.anglin at bell dot net
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 15:04:51 UTC ---
> IPPROTO_IPV6 and IPV6_MULTICAST_IF are not defined in any system header
> on HP-UX 11.00. As far as I can tell, there is no IPv6 support.
Ok, but at least struct sockaddr_in6 is present in/from <netinet/in.h>,
otherwise the HAVE_INET6 configure test would fail?
> On HP-UX 11.11, the defines are in netinet/in6.h.
Ok, thanks.
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2012-03-21 15:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 16:29 ` dave.anglin at bell dot net
2012-03-21 16:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-03-21 16:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #4 from dave.anglin at bell dot net 2012-03-21 16:22:38 UTC ---
On 3/21/2012 11:04 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> Ok, but at least struct sockaddr_in6 is present in/from<netinet/in.h>,
> otherwise the HAVE_INET6 configure test would fail?
Not that I see.
Dave
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (3 preceding siblings ...)
2012-03-21 16:29 ` dave.anglin at bell dot net
@ 2012-03-21 16:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-21 16:47 ` ro at gcc dot gnu.org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-21 16:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 16:31:41 UTC ---
> --- Comment #4 from dave.anglin at bell dot net 2012-03-21 16:22:38 UTC ---
> On 3/21/2012 11:04 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
>> Ok, but at least struct sockaddr_in6 is present in/from<netinet/in.h>,
>> otherwise the HAVE_INET6 configure test would fail?
>
> Not that I see.
I see now what's wrong: I'm an idiot and removed the HAVE_INET6 check
together with defined (IPV6_MULTICAST_IF). The former is clearly
necessary, the latter probably not.
Will fix.
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (4 preceding siblings ...)
2012-03-21 16:34 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-21 16:47 ` ro at gcc dot gnu.org
2012-03-21 16:54 ` ro at gcc dot gnu.org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-03-21 16:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-03-21
AssignedTo|unassigned at gcc dot |ro at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.8.0
Ever Confirmed|0 |1
--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> 2012-03-21 16:45:25 UTC ---
Mine, could you please try the attached (untested except by visual inspection)
patch?
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2012-03-21 16:47 ` ro at gcc dot gnu.org
@ 2012-03-21 16:54 ` ro at gcc dot gnu.org
2012-03-25 1:07 ` dave.anglin at bell dot net
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-03-21 16:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> 2012-03-21 16:46:21 UTC ---
Created attachment 26943
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26943
proposed patch
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (6 preceding siblings ...)
2012-03-21 16:54 ` ro at gcc dot gnu.org
@ 2012-03-25 1:07 ` dave.anglin at bell dot net
2012-03-26 13:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-03-25 1:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #8 from dave.anglin at bell dot net 2012-03-24 23:40:03 UTC ---
On 21-Mar-12, at 11:04 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> Ok, but at least struct sockaddr_in6 is present in/from <netinet/
> in.h>,
> otherwise the HAVE_INET6 configure test would fail?
HAVE_INET6 is undefined in include/config.h and classpath/include/
config.h.
Dave
--
John David Anglin dave.anglin@bell.net
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (7 preceding siblings ...)
2012-03-25 1:07 ` dave.anglin at bell dot net
@ 2012-03-26 13:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-03-27 2:35 ` dave.anglin at bell dot net
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2012-03-26 13:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-26 13:09:20 UTC ---
> HAVE_INET6 is undefined in include/config.h and classpath/include/
> config.h.
Ok, so at least we don't have another case of IPv6 being half-supported.
Did you have a chance to try the attached patch?
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (8 preceding siblings ...)
2012-03-26 13:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2012-03-27 2:35 ` dave.anglin at bell dot net
2012-04-03 17:02 ` dave.anglin at bell dot net
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-03-27 2:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #10 from dave.anglin at bell dot net 2012-03-27 00:44:41 UTC ---
On 26-Mar-12, at 9:09 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> Did you have a chance to try the attached patch?
Testing....
Dave
--
John David Anglin dave.anglin@bell.net
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (9 preceding siblings ...)
2012-03-27 2:35 ` dave.anglin at bell dot net
@ 2012-04-03 17:02 ` dave.anglin at bell dot net
2012-04-04 11:36 ` ro at gcc dot gnu.org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: dave.anglin at bell dot net @ 2012-04-03 17:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #11 from dave.anglin at bell dot net 2012-04-03 17:01:49 UTC ---
Attached patch works for me.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (10 preceding siblings ...)
2012-04-03 17:02 ` dave.anglin at bell dot net
@ 2012-04-04 11:36 ` ro at gcc dot gnu.org
2012-04-05 10:06 ` ro at gcc dot gnu.org
2012-04-05 10:10 ` ro at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-04-04 11:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2012-04/msg00192.htm
| |l
--- Comment #12 from Rainer Orth <ro at gcc dot gnu.org> 2012-04-04 11:35:00 UTC ---
Thanks for the confirmation. Patch submitted.
Rainer
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (11 preceding siblings ...)
2012-04-04 11:36 ` ro at gcc dot gnu.org
@ 2012-04-05 10:06 ` ro at gcc dot gnu.org
2012-04-05 10:10 ` ro at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-04-05 10:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #13 from Rainer Orth <ro at gcc dot gnu.org> 2012-04-05 10:04:50 UTC ---
Author: ro
Date: Thu Apr 5 10:04:40 2012
New Revision: 186161
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186161
Log:
Restore HAVE_INET6 tests (PR libgcj/52645)
PR libgcj/52645
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption):
Restore HAVE_INET6 check.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc (setOption):
Likewise.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc
trunk/libjava/gnu/java/net/natPlainDatagramSocketImplWin32.cc
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
2012-03-21 0:14 [Bug libgcj/52645] New: gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope danglin at gcc dot gnu.org
` (12 preceding siblings ...)
2012-04-05 10:06 ` ro at gcc dot gnu.org
@ 2012-04-05 10:10 ` ro at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-04-05 10:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #14 from Rainer Orth <ro at gcc dot gnu.org> 2012-04-05 10:09:46 UTC ---
Fixed for 4.8.0.
^ permalink raw reply [flat|nested] 15+ messages in thread