Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
62 user(s) are online (39 user(s) are browsing Forums)

Members: 0
Guests: 62

more...

Headlines




« 1 ... 6 7 8 (9)


Re: gcc 9 and 10 and 11
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@Raziel

Thanks for testing. Indeed, -fanalyze is hungry, not something for every write, compile and test iteration.

   Report Go to top

Re: gcc 9 and 10 and 11
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4262
@sTix

At least we have it and it's working, so good for future bug hunting sessions.

i also just found my old bug report on "that other switch that wasn't working", maybe you remember?

It was the profiler (-pg) that is crashing.
See here:
https://github.com/sba1/adtools/issues/72

Though i don't know if it is a problem of gcc or one of the many adtools.

I'll drop it here so it gets some update...

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2017/1/3 6:03
From Atlanta GA
Posts: 77
GCC cross compiler.

Checking in on best approach to getting a cross compiler up that supports std:max_align_t. Does sba or sodero for k currently support and do I need to build a more up to date cLib as I know newlib does not support this.

Any help pointing me at pieces would be appreciated.

Regards
Doug

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@DStastny
Quote:
Checking in on best approach to getting a cross compiler up that supports std:max_align_t. Does sba or sodero for k currently support and do I need to build a more up to date cLib as I know newlib does not support this


The answer is yes and yes.

If you follow the adtools guide and checkout and build gcc 11.1.0 it should work. It will also build my clib2 fork which is needed for c++11/17/2a.

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2017/1/3 6:03
From Atlanta GA
Posts: 77
@sTix

Thanks I will clone from your repo.

Doug

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@DStastny
Quote:
Thanks I will clone from your repo.


It's better if you use the main repo, sba1/adtools, instead of my fork. The main adtools repo is using my clib2 fork. It's a bit confusing, bit it's the least bad we could do since PR:s for the main clib2 repo take to long.

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2017/1/3 6:03
From Atlanta GA
Posts: 77
@sTix

Thank you sir! I cloned the main repo. Built and moving forward. Prior to this was pointless to try to port the codebase I am attempting. Moving further along. Now to replace the platform code and create Amiga specific implementations.

Really appreciate work on clib2.

Regards
Doug



   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2017/1/3 6:03
From Atlanta GA
Posts: 77
@sTix

[10%] Linking CXX executable ../../bin/llvm-tblgen
/opt/adtools/lib/gcc/ppc-amigaos/11.1.0/../../../../ppc-amigaos/bin/ldDwarf Errorfound dwarf version '5'this reader only handles version 2and 4 information.


I ran into this issue it appears the cross compiler is generating version dwarf 5 but ld .... Not sure if this is config during build. For now easy work around set the build flags -gdwarf-4.

Lots of symbols for me to resolve

Regards
Doug

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@DStastny

That's strange. I get nothing like that when building. That llvm thing is especially strange. What host OS are you using?

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2017/1/3 6:03
From Atlanta GA
Posts: 77
@sTix

I built cross under Ubuntu 20.10 with gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.10).


According to this:https://gcc.gnu.org/gcc-11/changes.html

Dwarf5 is the default for gcc-11. But doubt binutils for amiga is even close to current. So this would explain it.


As for LLVM, been trying to get this built for while but too many issues with std:: namespace.

But for first time I got it to point of linking the first parts and missing symbols are intentional as I need to provide Amiga specific implementations.

Regard and thanks again for efforts.

Doug

   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@DStastny

Aha, then I understand. I thought that message came up when building adtools, hence my confusion. Indeed, our binutils is very old so unfortunately it's necessary to use -gdwarf-version when building with gcc 11 if one wants to use gdb.

I hope you succeed with LLVM, it would be very nice to have.

   Report Go to top

Re: gcc 9 and 10
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4262
@sTix

Do inderstand that right...if i want to use (the new and updated) gdb with a project, i need to compile that project with -gdwarf-version?

Any more options needed for that?
e.g. -gdwarf-version 4 (to explicitely use the version)?

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@Raziel

Yes. I haven't tried it myself yet (since gdb didn't work at all on X5000 when I looked at it last time, but someone fixed something since then if I remember correctly?), but '-gdwarf-4' should work.

   Report Go to top

Re: gcc 9 and 10
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4262
@sTix

Thank you.
Will try that out once I'm back home

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@Raziel

Forgot; was the fix (that I believe someone did) in gdb itself, or in the kernel? In other words, is it available for mere mortals?

   Report Go to top

Re: gcc 9 and 10
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4262
@sTix

Not sure and I'm the wrong one to ask

But iirc (and take that with a big pile of salt) it was a combination of both.
First a fixed kernel was released (I think upd2) and upon that gdb development got back a little momentum.

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: gcc 9 and 10
Just popping in
Joined:
2006/11/30 11:59
From Lund, Sweden
Posts: 169
@Raziel

Thanks! I think I was wrong above, isn't our gdb stuck at dwarf-2?

   Report Go to top

Re: gcc 9 and 10
Home away from home
Joined:
2006/11/26 21:45
From a dying planet
Posts: 4262
@sTix


I have not the slightest idea...I don't even know what dwarf is or does

_________________
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
   Report Go to top

Re: gcc 9 and 10
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2987

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top


« 1 ... 6 7 8 (9)



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project