GeertJohan / GeertJohan/openwrt-go

help :undefined reference to `__morestack`

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

Nobody has claimed this yet.

Dominant language
C
Stars
240
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Hi sir,

I follow your tips to compile the gccgo successully, but something wrong happen after i use gccgo to compile hello world.

helloworld.go:(text+0x195): undefined reference to __morestack
Can you give me some hints to solve the problem?

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 gccgo compilation of helloworld.go and capture the linker failure for the missing __morestack reference. Trace whether the failure comes from the gccgo/libgo setup described in the repository and verify completion when the hello-world program links and runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.