Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832037 - Prefix bootstrap on arm64 OS X fails due to undefined symbols for gcc ebuild (among them _lexer_line)
Summary: Prefix bootstrap on arm64 OS X fails due to undefined symbols for gcc ebuild ...
Status: RESOLVED DUPLICATE of bug 778014
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: ARM64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-25 11:59 UTC by john
Modified: 2022-01-26 09:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
GCC build logs (gcc-build-logs.tar.bz2,90.38 KB, application/x-bzip2)
2022-01-25 12:00 UTC, john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2022-01-25 11:59:27 UTC
I am unable to complete a bootstrap-prefix.sh invocation on my macOS arm64 M1 machine. I end up getting as far as stage3 and then the gcc ebuild fails due to undefined symbols for arm64.

Reproducible: Always

Steps to Reproduce:
1. Attempt to run ./bootstrap-prefix.sh on my Apple Silicon mac with normal settings
2. Cry
Actual Results:  
The gcc ebuild fails in stage3 due to undefined symbols:


Undefined symbols for architecture arm64:
  "__Z5yyendv", referenced from:
      __Z10parse_filePKc in gengtype-parse.o
  "__Z5yylexPPKc", referenced from:
      __ZL5tokenv in gengtype-parse.o
  "__Z7yybeginPKc", referenced from:
      __Z10parse_filePKc in gengtype-parse.o
  "_lexer_line", referenced from:
      __ZL22create_optional_field_P4pairP4typePKcS4_i in gengtype.o
      __ZL20adjust_field_rtx_defP4typeP7options in gengtype.o
      __ZL21adjust_field_tree_expP4typeP7options in gengtype.o
      __Z17adjust_field_typeP4typeP7options in gengtype.o
      __ZL11parse_errorPKcz in gengtype-parse.o
      __ZL16struct_field_seqv in gengtype-parse.o
      __ZL4typePP7optionsb in gengtype-parse.o
      ...
  "_lexer_toplevel_done", referenced from:
      __Z10parse_filePKc in gengtype-parse.o
ld: symbol(s) not found for architecture arm64
Comment 1 john 2022-01-25 12:00:02 UTC
Created attachment 763602 [details]
GCC build logs
Comment 2 john 2022-01-26 09:52:01 UTC

*** This bug has been marked as a duplicate of bug 778014 ***
Comment 3 john 2022-01-26 09:52:17 UTC
My fault, I did some more googling and it looks like this is a duplicate.