I tried to build zig 0.13.0 using t2 install but it failed with a lot of linking errors as the one seen below:
error: ld.lld: undefined symbol: __isoc23_strtoul
I tried to search for the error and it might be caused by zig trying to link against glibc 2.38. I tried to fiddle around with the cmake options from the zig.conf in the zig package and when I removed the -DZIG_HOST_TARGET and the -DZIG_TARGET it magically worked (as seen in the attached diff). So likely a zig issue? This really seems like a workaround and I don't have the most experience with build systems so one might help me out here.
I tried to build zig 0.13.0 using t2 install but it failed with a lot of linking errors as the one seen below:
error: ld.lld: undefined symbol: __isoc23_strtoul
I tried to search for the error and it might be caused by zig trying to link against glibc 2.38. I tried to fiddle around with the cmake options from the
zig.conf
in the zig package and when I removed the-DZIG_HOST_TARGET
and the-DZIG_TARGET
it magically worked (as seen in the attached diff). So likely a zig issue? This really seems like a workaround and I don't have the most experience with build systems so one might help me out here.zig_conf.patch
Thanks!