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: October 31, 2026, 2:16 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing GCC 13.1.0
#21
RE: Installing GCC 13.1.0
(May 1, 2023 at 7:18 pm)FlatAssembler Wrote: 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:
[Image: 7Z5L5.png]
I've tried to re-install Debian from CD, but the installer also crashes with the same error message. What should I do?

Undo the thing that you did before it broke (back out your VirtualBox update).

In anticipation of your next question, if you want to know how to fix the kernel panic your OS vendor ando virtualization provider are over there. ---->

If it were me, I'd start by reading VirtualBox release notes for the new version and every version you skipped and see if anything of use is in them. If not, go back to my first suggestion.
Reply
#22
RE: Installing GCC 13.1.0
This feels like a good time to relate a little of my life story to you FA.

When I went to college it was because I wanted to be the first in my immediate family to do so.

So I picked psychology because how the human brain works fascinates me. Now some areas I did very well like 'interpersonal communication' but in others like ' Statistics' I was terrible. I knew right then I had hit my limit and I was ok with that, It Didn't hurt to try.

The point here is if I had wasted time pursuing it I may never have found the job I do now, Which I really enjoy. I'm not telling you to give up but instead, maybe refocus your drive elsewhere so you can flourish.
"For the only way to eternal glory is a life lived in service of our Lord, FSM; Verily it is FSM who is the perfect being the name higher than all names, king of all kings and will bestow upon us all, one day, The great reclaiming"  -The Prophet Boiardi-

   
  Conservative trigger warning.
[Image: s-l640.jpg][Image: shopping?q=tbn:ANd9GcSBjdQ4tzp0y16OBYXxG...s&usqp=CAc]
                                                                                         
Reply
#23
RE: Installing GCC 13.1.0
(May 1, 2023 at 9:53 am)HappySkeptic Wrote: It tells you the problem:

"recompile with -fPIC"

Google what that means.  I've always used it in my UNIX or LINUX compiles.  It doesn't make sense not to use it.
I've tried to do the following before running `configure`:
Code:
# Downgrade GCC to the one that comes with Debian. export CC=/usr/bin/gcc export CXX=/usr/bin/g++ # Tell "configure" to always add "-fPIC" when invoking GCC export CFLAGS="-fPIC" export CXXFLAGS=$CFLAGS
I still get exactly the same error. And I think I understand why:
1. The error occurs at the Stage 2 of the compilation of GCC. That means the GCC being invoked isn't the GCC you have already installed on your system, but the newly-built GCC 13.1. It's the `xgcc`, the minimal GCC used to compile the rest of GCC. It shouldn't matter which version of GCC was used to produce `xgcc` in the Stage 1 (unless you assume there is some weird wrong-code bug).
2. Take a look at the invocation that occurs right before the error:

Code:
libtool: link:  /home/teo/gcc-objdir/./gcc/xgcc -shared-libgcc -B/home/teo/gcc-objdir/./gcc -nostdinc++ -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/src -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include     -fPIC -DPIC -shared -nostdlib /usr/lib/x86_64-linux-gnu/crti.o /home/teo/gcc-objdir/./gcc/crtbeginS.o  .libs/hwasan_allocation_functions.o .libs/hwasan_allocator.o .libs/hwasan.o .libs/hwasan_dynamic_shadow.o .libs/hwasan_exceptions.o .libs/hwasan_fuchsia.o .libs/hwasan_globals.o .libs/hwasan_interceptors.o .libs/hwasan_interceptors_vfork.o .libs/hwasan_linux.o .libs/hwasan_memintrinsics.o .libs/hwasan_new_delete.o .libs/hwasan_poisoning.o .libs/hwasan_report.o .libs/hwasan_setjmp_aarch64.o .libs/hwasan_setjmp_x86_64.o .libs/hwasan_tag_mismatch_aarch64.o .libs/hwasan_thread.o .libs/hwasan_thread_list.o .libs/hwasan_type_test.o  -Wl,--whole-archive ../sanitizer_common/.libs/libsanitizer_common.a ../interception/.libs/libinterception.a ../libbacktrace/.libs/libsanitizer_libbacktrace.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -Wl,-rpath -Wl,/usr/local/lib/../lib64 -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/src -L/home/teo/gcc-objdir/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -ldl -lrt -lpthread ../../libstdc++-v3/src/.libs/libstdc++.so -lm -L/home/teo/gcc-objdir/./gcc -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -lc -lgcc_s /home/teo/gcc-objdir/./gcc/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o  -mshstk   -Wl,-soname -Wl,libhwasan.so.0 -o .libs/libhwasan.so.0.0.0 /usr/bin/ld: .libs/hwasan.o: relocation R_X86_64_PC32 against undefined symbol `__ehdr_start' can not be used when making a shared object; recompile with -fPIC
The GNU Make does pass the `-fPIC` to the `xgcc`, it's just apparently being ignored.
Reply
#24
RE: Installing GCC 13.1.0
-fPIC must be invoked on creation of the .o files (i.e. hwasan.o) , not just at the link stage.
Reply
#25
RE: Installing GCC 13.1.0
Reply
#26
RE: Installing GCC 13.1.0
Just managed to install GCC 13.1.0 on CygWin, but I cannot reproduce the error that GitLab claims occurs when compiling my compiler.
Reply
#27
RE: Installing GCC 13.1.0
Wow, thanks for the update!
What fresh hell can this be? - Dorothy Parker
Reply
#28
RE: Installing GCC 13.1.0
(May 2, 2023 at 1:39 am)Nay_Sayer Wrote: This feels like a good time to relate a little of my life story to you FA.

When I went to college it was because I wanted to be the first in my immediate family to do so.

So I picked psychology because how the human brain works fascinates me. Now some areas I did very well like 'interpersonal communication' but in others like ' Statistics' I was terrible.  I knew right then I had hit my limit and I was ok with that, It Didn't hurt to try.

The point here is if I had wasted time pursuing it I may never have found the job I do now, Which I really enjoy.  I'm not telling you to give up but instead, maybe refocus your drive elsewhere so you can flourish.

Then both of us were killed by mathematics, right? You were killed by the statistics, while I was killed by Signals and Systems and its successor Control Engineering.

I am refocusing my drive elsewhere. I am publishing papers about the names of places.
Reply
#29
RE: Installing GCC 13.1.0
(May 2, 2023 at 4:07 pm)FlatAssembler Wrote:
(May 2, 2023 at 1:39 am)Nay_Sayer Wrote: This feels like a good time to relate a little of my life story to you FA.

When I went to college it was because I wanted to be the first in my immediate family to do so.

So I picked psychology because how the human brain works fascinates me. Now some areas I did very well like 'interpersonal communication' but in others like ' Statistics' I was terrible.  I knew right then I had hit my limit and I was ok with that, It Didn't hurt to try.

The point here is if I had wasted time pursuing it I may never have found the job I do now, Which I really enjoy.  I'm not telling you to give up but instead, maybe refocus your drive elsewhere so you can flourish.

Then both of us were killed by mathematics, right? You were killed by the statistics, while I was killed by Signals and Systems and its successor Control Engineering.

I am refocusing my drive elsewhere. I am publishing papers about the names of places.

You should do Muckanaghederdauhaulia next.

Boru
‘I can’t be having with this.’ - Esmeralda Weatherwax
Reply
#30
RE: Installing GCC 13.1.0
(May 2, 2023 at 4:48 pm)BrianSoddingBoru4 Wrote:
(May 2, 2023 at 4:07 pm)FlatAssembler Wrote: Then both of us were killed by mathematics, right? You were killed by the statistics, while I was killed by Signals and Systems and its successor Control Engineering.

I am refocusing my drive elsewhere. I am publishing papers about the names of places.

You should do Muckanaghederdauhaulia next.

Boru

Which journal in Croatia do you think would publish a paper about an Irish placename? Especially a morphologically transparent one, as, ccording to Wikepedia, it means "pig-marsh between two sea inlets". I have no idea what to write about it.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Constantly installing "new" version of Firezilla. Gawdzilla Sama 5 1985 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 2528 September 25, 2015 at 8:19 am
Last Post: abaris



Users browsing this thread: 1 Guest(s)