FAQ
Thanks, will do. Just to confirm: it's not seen as an issue that this
causes constants to disappear, change values, etc? In other words, the
usual compatibility guarantees don't apply here?

Given that this is modeling real changes in the OS I assume it's okay, but
I want to confirm.
On Friday, August 28, 2015, Rob Pike wrote:

Please run the script and if the output looks correct and works, send a CL.

The sys repo is always going to be a little messy.

-rob


On Fri, Aug 28, 2015 at 4:15 PM, 'Aaron Jacobs' via golang-nuts <
golang-nuts@googlegroups.com
wrote:
Hi golang-nuts,

I'm shaving yaks in an attempt to add support for fchmodat(2) to the unix
package for darwin, since it exists as of OS X 10.10. However I'm running
into
a few problems:

1. `GOOS=darwin GOARCH=amd64 ./mkall.sh` does not work on my system
running
10.10.5 and Xcode 6.4; I get an error about not being able to find
netinet/ip_mroute.h.

2. If I comment out that include from mkerrors.sh, mkall.sh works.
However, the
generated files have a bunch of changes (for example, SO_NUMRCVPKT is
added,
TCP_MAX_SACK is changed, SYS_PROFIL is removed, the type of
Log2phys_t.Pad_cgo_0 is changed). I don't know if these changes are
expected.

In general, the scripts and the generated output appear to have rotted.

What's the best thing to do here? Should I send a CL that brings the
generated
output up to date with a run of the script on a modern system? What about
backwards-compatibility concerns?

Thanks,
Aaron

--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to golang-nuts+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,'cvml','golang-nuts%2bunsubscribe@googlegroups.com');>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 28, '15 at 6:16a
activeAug 28, '15 at 8:58a
posts4
users2
websitegolang.org

2 users in discussion

Rob Pike: 2 posts Aaron Jacobs: 2 posts

People

Translate

site design / logo © 2021 Grokbase