Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with clang >=17 (--with-interpreter=tcl) #7

Open
nunotexbsd opened this issue Apr 23, 2024 · 0 comments
Open

Fails to build with clang >=17 (--with-interpreter=tcl) #7

nunotexbsd opened this issue Apr 23, 2024 · 0 comments

Comments

@nunotexbsd
Copy link

Build fine with clang 14 on FreeBSD 13.2.

clang 17 and 18 fails with:

===>   Generating temporary packing list
--- installing executables to /wrkdirs/usr/ports/cad/irsim/work/stage/usr/local/bin
--- installing run-time files to /wrkdirs/usr/ports/cad/irsim/work/stage/usr/local/lib
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Tclirsim_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Random_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Random_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Diglib_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Diglib_SafeInit' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:25: tclirsim.so] Error 1
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Tclirsim_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Tclirsim_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Random_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Diglib_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Diglib_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'init_subs' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'cur_delta' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'lprintf' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:24: random.so] Error 1
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Tclirsim_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Tclirsim_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Random_Init' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Random_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'Diglib_SafeInit' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'init_subs' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'cur_delta' failed: symbol not defined
ld: error: version script assignment of 'IRSIM_9.7' to symbol 'lprintf' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:25: diglib.so] Error 1

Any clues?
I can provide full logs if needed.

Thanks

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

No branches or pull requests

1 participant