mattn / mattn/go-mruby

make error on mac osx 10.9 again

Open
#6 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
85
Forks
7
PR merge metrics
No merged PRs in 30d

Description

$ clang -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

$ make
go build -x .
WORK=/var/folders/8g/k56fj_l17g32bg3fmjqqhgdr0000gp/T/go-build591004667
mkdir -p $WORK/_/opt/dev_opensource/go-mruby/_obj/
mkdir -p $WORK/_/opt/dev_opensource/
cd /opt/dev_opensource/go-mruby
/usr/local/Cellar/go/1.1.2/libexec/pkg/tool/darwin_amd64/cgo -objdir $WORK/_/opt/dev_opensource/go-mruby/_obj/ -- -Imruby/include -I $WORK/_/opt/dev_opensource/go-mruby/_obj/ mruby.go
# _/opt/dev_opensource/go-mruby
mruby.go:176:28: struct size calculation error off=28 bytesize=16
make: *** [all] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported make failure on the macOS 10.9 toolchain, then inspect mruby.go at line 176 and the surrounding cgo struct definitions. The issue is resolved when the project builds successfully with the affected compiler and the struct-size error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, go
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.