Re: [PATCH, fix bootstrap] libcody: Include as needed

2020-12-21 Thread Nathan Sidwell
On 12/21/20 11:19 AM, Gerald Pfeifer wrote: We explicitly need to inlude netinet.h, (despite what happened on my test systems) libcody/ * netclient.cc: Add netinet.h. Note, though, that my patch also fixed libcody/netserver.cc, which still failed. Seeing t

Re: [PATCH, fix bootstrap] libcody: Include as needed

2020-12-21 Thread Gerald Pfeifer
On Mon, 21 Dec 2020, Nathan Sidwell wrote: > On 12/20/20 6:28 PM, Gerald Pfeifer wrote: >> libcody as originally added to GCC fails to build on *-unknown-freebsd11.4 >> and presumably others: >> >>c++ -std=c++11 -g -include config.h -I ... -MMD -MP -MF netclient.d -c >> -o netclient.o >>

Re: [PATCH, fix bootstrap] libcody: Include as needed

2020-12-21 Thread Nathan Sidwell
On 12/20/20 6:28 PM, Gerald Pfeifer wrote: libcody as originally added to GCC fails to build on *-unknown-freebsd11.4 and presumably others: c++ -std=c++11 -g -include config.h -I ... -MMD -MP -MF netclient.d -c -o netclient.o .../libcody/netclient.cc:114:3: error: unknown type sockad

Re: [PATCH, fix bootstrap] libcody: Include as needed

2020-12-21 Thread Sebastian Huber
On 21/12/2020 00:28, Gerald Pfeifer wrote: libcody as originally added to GCC fails to build on *-unknown-freebsd11.4 and presumably others: I experienced the same issue with FreeBSD 12 building a cross-compiler. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

[PATCH, fix bootstrap] libcody: Include as needed

2020-12-20 Thread Gerald Pfeifer
libcody as originally added to GCC fails to build on *-unknown-freebsd11.4 and presumably others: c++ -std=c++11 -g -include config.h -I ... -MMD -MP -MF netclient.d -c -o netclient.o .../libcody/netclient.cc:114:3: error: unknown type sockaddr_in6 addr;