ld: error: undefined symbol: l_Lake_cli
>>> referenced by LakeMain.c
>>> ../../../.build/stage0/lib/temp/LakeMain.o.export:(_lean_main)
ld: error: undefined symbol: initialize_Lake
>>> referenced by LakeMain.c
>>> ../../../.build/stage0/lib/temp/LakeMain.o.export:(initialize_LakeMain)
ld: error: undefined symbol: initialize_Lake_CLI
>>> referenced by LakeMain.c
>>> ../../../.build/stage0/lib/temp/LakeMain.o.export:(initialize_LakeMain)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Context
FreeBSD port, clang-18 compiler.
The only place where initialize_Lake is defined is stage0/stdlib/Lake.c, and there is this if0def there:
#elif defined(__GNUC__) && !defined(__CLANG__).
Why is this ifdef removing initialize_Lake when clang is used?
Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
Build breaks:
Context
FreeBSD port, clang-18 compiler.
The only place where initialize_Lake is defined is stage0/stdlib/Lake.c, and there is this if0def there:
#elif defined(__GNUC__) && !defined(__CLANG__)
.Why is this ifdef removing initialize_Lake when clang is used?
Version: 4.13.0