Posts: 1664
Threads: 5
Joined: September 26, 2018
Reputation:
12
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.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Installing GCC 13.1.0
May 1, 2023 at 7:04 pm
OK, I've asked this question on StackExchange and LinuxQuestions. Thus far, the only suggestion I got is to reinstall my operating system. Which is a ridiculous suggestion, isn't it?
Posts: 46640
Threads: 543
Joined: July 24, 2013
Reputation:
108
RE: Installing GCC 13.1.0
May 1, 2023 at 7:13 pm
(May 1, 2023 at 7:04 pm)FlatAssembler Wrote: OK, I've asked this question on StackExchange and LinuxQuestions. Thus far, the only suggestion I got is to reinstall my operating system. Which is a ridiculous suggestion, isn't it?
Try it. If it works, your problem is solved. If it doesn’t work, you’re no worse off than you are now.
Boru
‘I can’t be having with this.’ - Esmeralda Weatherwax
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Installing GCC 13.1.0
May 1, 2023 at 7:15 pm
(May 1, 2023 at 7:13 pm)BrianSoddingBoru4 Wrote: (May 1, 2023 at 7:04 pm)FlatAssembler Wrote: OK, I've asked this question on StackExchange and LinuxQuestions. Thus far, the only suggestion I got is to reinstall my operating system. Which is a ridiculous suggestion, isn't it?
Try it. If it works, your problem is solved. If it doesn’t work, you’re no worse off than you are now.
Boru
How am I no worse than I am now? I would need to install all the programs I've installed on Linux again.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Installing GCC 13.1.0
May 1, 2023 at 7:18 pm
I've just noticed that my 32-bit Debian virtual machine doesn't boot after I've updated VirtualBox to the version 7.0.6. I get the following error:
I've tried to re-install Debian from CD, but the installer also crashes with the same error message. What should I do?
Posts: 46640
Threads: 543
Joined: July 24, 2013
Reputation:
108
RE: Installing GCC 13.1.0
May 1, 2023 at 7:22 pm
(May 1, 2023 at 7:15 pm)FlatAssembler Wrote: (May 1, 2023 at 7:13 pm)BrianSoddingBoru4 Wrote: Try it. If it works, your problem is solved. If it doesn’t work, you’re no worse off than you are now.
Boru
How am I no worse than I am now? I would need to install all the programs I've installed on Linux again.
So do that. Sheesh.
Boru
‘I can’t be having with this.’ - Esmeralda Weatherwax
Posts: 29975
Threads: 116
Joined: February 22, 2011
Reputation:
158
RE: Installing GCC 13.1.0
May 1, 2023 at 7:37 pm
You don't have what it takes. Have you considered selling insurance?
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Installing GCC 13.1.0
May 1, 2023 at 8:06 pm
(May 1, 2023 at 7:22 pm)BrianSoddingBoru4 Wrote: (May 1, 2023 at 7:15 pm)FlatAssembler Wrote: How am I no worse than I am now? I would need to install all the programs I've installed on Linux again.
So do that. Sheesh.
Boru
Like I've written on StackExchange:
Quote:What you are essentially telling me is that I should downgrade my GCC to 10.4 (or whichever version comes with Debian) in order to build a new version of GCC. That runs contrary to the typical advice on how to build GCC. It is typically advised that you should build in small increments, that you are less likely to run into trouble if you are using GCC 12.2 to build GCC 13.1 than if you are using GCC 10.4 to build GCC 13.1. And it should be obvious why.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Installing GCC 13.1.0
May 1, 2023 at 8:07 pm
(May 1, 2023 at 7:37 pm)Angrboda Wrote: You don't have what it takes. Have you considered selling insurance?
What do you mean? I don't have what it takes for what? What insurance?
Posts: 35388
Threads: 205
Joined: August 13, 2012
Reputation:
145
RE: Installing GCC 13.1.0
May 1, 2023 at 8:31 pm
Personally, I blame hippies.
Playing Cluedo with my mum while I was at Uni:
"You did WHAT? With WHO? WHERE???"
|