RE: Installing GCC 13.1.0
May 1, 2023 at 4:28 pm
(This post was last modified: May 1, 2023 at 4:28 pm by HappySkeptic.)
(May 1, 2023 at 2:41 pm)FlatAssembler Wrote: Or perhaps there is a bug in the version GNU linker provided with Debian. After all, it's a linker error.
It's a linker error, but it tells you why it is an error. That means it is fixable.
It is possible that -fPIC is somehow assumed to be default, but it isn't on your compiler or when configure is run on your machine. Since this package is "new", it is also possible that it is buggy against some compilers.
PIC means Position Independent Code. It is normally a requirement for the object files (the c/cc/cpp file builds) before linking a shared object, and I do it even for static libraries. If you were add this into the actual .o builds, by fixing the configure script, or editing the Makefile (or equivalent), you would get by this problem.
Programmers learn how to handle build problems.