Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: July 29, 2025, 11:11 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing GCC 13.1.0
#25
RE: Installing GCC 13.1.0
(May 2, 2023 at 1:01 pm)HappySkeptic Wrote: -fPIC must be invoked on creation of the .o files (i.e. hwasan.o) , not just at the link stage.

Well, there doesn't seem to be a simple solution. Telling `configure` to use a known-good compiler (that comes with Debian) or to add `-fPIC` to every invocation to the compiler doesn't solve the problem, in fact, it doesn't even address it (the error stays the same).
The error seems to occur in the new part of GCC related to static analysis, which it is basically copying from LLVM. Is there a way to tell `configure` I don't want a static analyzer, that I just want the compiler? I mainly want to know whether my C++ programs compile using GCC 13.1.0, I don't need a static analyzer for that.

On Windows, I have Docker installed. I guess I will to install the GCC 13.1.0 image from the Docker hub and experiment with GCC 13.1.0 using Docker. After all, that's how I came to know about GCC 13.1.0, by the GitLab CI/CD of my AEC-to-WebAssembly compiler failing, and GitLab uses GCC through Docker. I once used to use the latest GCC through Docker. It sucks because sharing files between Docker containers and your host machine is difficult, but I guess I will have to.

I am currently trying to build GCC 13.1.0 on CygWin, I think it has already gone to the Stage 3 (so, that error with `-fPIC` doesn't occur on CygWin, but maybe some other will).
Reply



Messages In This Thread
Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 8:39 am
RE: Installing GCC 13.1.0 - by Angrboda - May 1, 2023 at 9:03 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 10:19 am
RE: Installing GCC 13.1.0 - by Ravenshire - May 6, 2023 at 8:19 pm
RE: Installing GCC 13.1.0 - by HappySkeptic - May 1, 2023 at 9:53 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 10:20 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 2, 2023 at 10:48 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 10:16 am
RE: Installing GCC 13.1.0 - by HappySkeptic - May 1, 2023 at 10:27 am
RE: Installing GCC 13.1.0 - by Jackalope - May 1, 2023 at 10:38 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 2:41 pm
RE: Installing GCC 13.1.0 - by HappySkeptic - May 1, 2023 at 4:28 pm
RE: Installing GCC 13.1.0 - by Jackalope - May 1, 2023 at 2:56 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 7:04 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 1, 2023 at 7:13 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 7:15 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 1, 2023 at 7:22 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 8:06 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 7:18 pm
RE: Installing GCC 13.1.0 - by Jackalope - May 1, 2023 at 9:18 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 7, 2023 at 4:59 pm
RE: Installing GCC 13.1.0 - by Angrboda - May 1, 2023 at 7:37 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 1, 2023 at 8:07 pm
RE: Installing GCC 13.1.0 - by The Valkyrie - May 1, 2023 at 8:31 pm
RE: Installing GCC 13.1.0 - by Nay_Sayer - May 2, 2023 at 1:39 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 2, 2023 at 4:07 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 2, 2023 at 4:48 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 2, 2023 at 6:00 pm
RE: Installing GCC 13.1.0 - by Angrboda - May 2, 2023 at 6:03 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 3, 2023 at 8:09 am
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 3, 2023 at 2:43 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 3, 2023 at 5:05 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 3, 2023 at 6:53 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 3, 2023 at 7:31 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 3, 2023 at 7:38 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 4, 2023 at 1:49 pm
RE: Installing GCC 13.1.0 - by BrianSoddingBoru4 - May 4, 2023 at 4:34 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 4, 2023 at 5:01 pm
RE: Installing GCC 13.1.0 - by Astreja - May 5, 2023 at 2:56 am
RE: Installing GCC 13.1.0 - by FlatAssembler - May 6, 2023 at 6:42 pm
RE: Installing GCC 13.1.0 - by Astreja - May 6, 2023 at 6:53 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 7, 2023 at 9:02 am
RE: Installing GCC 13.1.0 - by Astreja - May 7, 2023 at 11:44 am
RE: Installing GCC 13.1.0 - by Nay_Sayer - May 2, 2023 at 6:19 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 3, 2023 at 1:11 pm
RE: Installing GCC 13.1.0 - by Astreja - May 3, 2023 at 2:00 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 3, 2023 at 4:45 pm
RE: Installing GCC 13.1.0 - by HappySkeptic - May 2, 2023 at 1:01 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 2, 2023 at 2:40 pm
RE: Installing GCC 13.1.0 - by FlatAssembler - May 2, 2023 at 3:53 pm
RE: Installing GCC 13.1.0 - by arewethereyet - May 2, 2023 at 3:53 pm
RE: Installing GCC 13.1.0 - by arewethereyet - May 3, 2023 at 2:47 pm
RE: Installing GCC 13.1.0 - by Angrboda - May 3, 2023 at 3:39 pm
RE: Installing GCC 13.1.0 - by arewethereyet - May 3, 2023 at 3:45 pm
RE: Installing GCC 13.1.0 - by The Valkyrie - May 3, 2023 at 6:22 pm
RE: Installing GCC 13.1.0 - by The Valkyrie - May 5, 2023 at 4:09 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Constantly installing "new" version of Firezilla. Gawdzilla Sama 5 1332 October 30, 2016 at 8:14 pm
Last Post: Gawdzilla Sama
  Never had that kinds of troubles with installing a new video card abaris 7 1695 September 25, 2015 at 8:19 am
Last Post: abaris



Users browsing this thread: 1 Guest(s)