Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
121 user(s) are online (66 user(s) are browsing Forums)

Members: 1
Guests: 120

VooDoo, more...

Headlines

Forum Index


Board index » All Posts (sTix)




Re: gcc 9 and 10
Just popping in
Just popping in


@kas1e
Good to hear that it's working. I'll try to integrate this into the main repo as well.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Raziel
Quote:
Wohooo...on to testing


I haven't done any testing except building Vim, but it should be OK, no drastic changes in there as far as I can see.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@kas1e
Quote:
I see a few days ago GCC 10.0.3 out, is it ok to ask you if you can bring that one to us as well?:)



Done: https://github.com/sodero/adtools/releases/tag/10.3.0_1

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@kas1e
Quote:
I see a few days ago GCC 10.0.3 out, is it ok to ask you if you can bring that one to us as well?:)


I'll fix that. Hopefully next week.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Capehill

Yep, weak symbols is probably a better solution than -fcommon.

Go to top


Re: First user's report of new Intel HD Audio (Azalia) driver by geennaam
Just popping in
Just popping in


@kas1e

Nice. Plenty of things going on in the OS4 world lately.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Capehill
Quote:
I have now another issue. I have build SDL2 library using GCC10 and libSDL2.a has some symbols like "IExec" which used to be of type "C" (common) but now they are of type "S". This seems to trigger a linker error about multiple definitions when linking statically. I wonder why the symbol type has suddenly changed?


IExec and INewlib are defined in SDL_os4library.c as unitialized variables so 'S' seems right. I don't know what compiler they (or is that you?) used to build the library on os4depot, but my guess is that it's a compiler where '-fcommon' is default rather than '-fno-common' which seems to be the default on gcc 10. If you add '-fcommon' to the CFLAGS when building, IExec and INewlib should be common 'C' symbols.


Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Capehill

That seems to be a source of confusion for many (me included). See the top comment here:

https://stackoverflow.com/questions/11 ... -not-in-the-std-namespace

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@jabirulo

I'd say 10. More warnings, and even a static analysis pass, might make finding some problems easier. Also, on average, newer compilers tend to generate better code.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Capehill
Quote:
All good so far! As one of the projects is using the GLM library, I got some errors related to std::round and others but just hacked those away locally. Should I report these failing std functions against the adtools project or?


Good to hear. It's likely a clib2 problem but adtools is probably a better place for the issue since that's where the digging needs to start. Since gcc 10 hasn't been integrated in the main repo yet I suggest you put it here: https://github.com/sodero/adtools

With lots and lots of details of course :)

Go to top


Re: GDB
Just popping in
Just popping in


@kas1e

Just like billyfish, I'm also a bit bogged down at the moment. But I don't think being stuck for a week is a disaster. I think this will take quite some time, it's not a minor bump, it's catching up with 10+ years of work in a project that has 10+ times as many developers as the complete Amiga community has, all flavours included. I really hope I'm wrong though :)

Go to top


Re: GDB
Just popping in
Just popping in


@billyfis
@kas1e

Perhaps there's some timezone confusion going on here, but I get the impression that you guys don't sleep enough :)

Go to top


Re: GDB
Just popping in
Just popping in


@kas1e
Quote:
For now tryng to debug that gdb_wait_for_event (0); in event_loop() issue. Strange why it call "select .". "Select" is probabaly short-named command for selecting a frame ?


It's POSIX I/O lingo

Not sure if there are any limitations in the Amiga implementation, if so, you also have the option of using poll().

Go to top


Re: GDB
Just popping in
Just popping in


@kas1e

The plan is to start with all the rest in binutils, it's sort of glued together with gdb so I think we need to do some work on the current patch set. After that I can have a look at amigaos-nat and co. It's not yet clear to me how this works but if we just do some random work here and there it will probably work out in the end

Go to top


Re: GDB
Just popping in
Just popping in


@billyfish
@kas1e

I've started to investigate how to incorporate this into adtools so that gdb is built per default when gcc and binutils is built.

Go to top


Re: GDB
Just popping in
Just popping in


@kas1e

Great work! I agree, just sticking with something not too new is a good idea. Otherwise you'll need to solve 12^324 problems at once.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Raziel

If it has a stack cookie you should be able to find it by greping for '$STACK:' in the binary, or just open it in a text editor and do a search.

Go to top


Re: GDB
Just popping in
Just popping in


@kas1e

Nice, full steam ahead as usual Having it on GitHub is a very good start. I'll try to get some time to look around a bit and see if I can contribute in some way.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@Raziel

Quote:
Where does gmake belong to then, if not adtools?

Binutils?
Is there a place (github) where the sources/port for amigaos4 reside that takes bug reports?


I don't know where it comes from :)

But the binary below is the one that comes with the SDK right?

(I don't have access to my OS4 machine here so I can't check)

http://os4depot.net/?function=showfil ... ment/utility/make-bin.lha

Edit: mixed up binutils and coreutils (like I always do).


Edited by sTix on 2021/2/18 19:14:14
Go to top


Re: GDB
Just popping in
Just popping in


@kas1e
Quote:
Back in times: yes. But after him land diffs to adtools repo, Sebastian do some changes on as well.


The only gdb I can find there is this: https://github.com/adtools/amigaos-gdb-4.18

It's the patches below that are used for the gdb in the SDK I guess?

http://os4depot.net/?function=showfil ... t/debug/gdb-5.3.patch.bz2

Or are there even newer ones?

Quote:
I.e. break can be set, listing works, it just TRAP seems broken ?


To me it's like trying to determine if the oven is on when the house is on fire

Go to top



TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 12 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project