Skip to content

edg: _main collided with 6l's entry point; cpfe faulted at pc=argc - #619

Merged
staalmannen merged 1 commit into
mainfrom
claude/upgrade-ape-c-library-mmZGd
Oct 8, 2026
Merged

staalmannen merged 1 commit into
mainfrom
claude/upgrade-ape-c-library-mmZGd

Conversation

@staalmannen

Copy link
Copy Markdown
Owner

mk hands a recipe to rc, where `=' is legal only as an assignment at the start of a command or inside quotes, so the bare -D_main=__edg_main added for the entry-point fix is a parse error rather than an argument:

/rc/lib/rcmain:24 *eval*:1: token '=': syntax error
mk: pcc -c -C ...  : exit status=rc 79720

The message names rcmain and a token and says nothing about this mkfile. Every other -D in the tree arrives through an expanded $CFLAGS, where mk substitutes after rc has parsed, so this is the tree's first literal one and had no working precedent in the directory to copy. The rule was already recorded in CLAUDE.md in its `awk -v name=$name' spelling.

Claude-Session: https://claude.ai/code/session_01WGAwvvTwDg2yknFkmZ3qzs

mk hands a recipe to rc, where `=' is legal only as an assignment at
the start of a command or inside quotes, so the bare
-D_main=__edg_main added for the entry-point fix is a parse error
rather than an argument:

	/rc/lib/rcmain:24 *eval*:1: token '=': syntax error
	mk: pcc -c -C ...  : exit status=rc 79720

The message names rcmain and a token and says nothing about this
mkfile.  Every other -D in the tree arrives through an expanded
$CFLAGS, where mk substitutes after rc has parsed, so this is the
tree's first literal one and had no working precedent in the
directory to copy.  The rule was already recorded in CLAUDE.md in its
`awk -v name=$name' spelling.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGAwvvTwDg2yknFkmZ3qzs
@staalmannen
staalmannen merged commit 476db9c into main Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants