Who's Online |
99 user(s) are online ( 50 user(s) are browsing Forums)
Members: 0
Guests: 99
more...
|
|
Headlines |
-
amidisas.tar.bz2 - development/utility
Apr 16, 2024
-
wildmidi.lha - audio/play
Apr 15, 2024
-
liba52.lha - development/library/audio
Apr 14, 2024
-
libcurl.lha - development/library/misc
Apr 14, 2024
-
libopenssl.lha - development/library/misc
Apr 14, 2024
-
bermudasyndrome.lha - game/action
Apr 14, 2024
-
amigagpt.lha - network/chat
Apr 14, 2024
-
curl.lha - network/misc
Apr 14, 2024
-
dgen_sdl.lha - emulation/gamesystem
Apr 12, 2024
-
amiarcadia.lha - emulation/gamesystem
Apr 11, 2024
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/22 20:18
#41
|
Just popping in
|
@kas1e
You're right. It's just a question of time before newer versions of gcc require a more recent binutils than what we have.
|
|
|
|
Re: Is gprof ever works on os4 ? It is! And can be still!
|
Posted on: 2022/1/22 16:57
#42
|
Just popping in
|
@kas1e
In revision 267 TEXT_START_ADDR=0x01000000 was added to binutils/ld/emulparams/amigaos.sh. Before there was no such entry, which maybe, perhaps, maybe results in a default value of 0x00000000.
In binutils/ld/emulparams/amigaos.sh TEXT_START_ADDR is explicitly set to 0x00000000.
The commit message in rev 267 and 265 says that the changes come from Hans-Joerg and Thomas Frieden. On other words the changes might be older than what the SVN log indicates which means that it might be included in the SDK from 2008. This is pure speculation though.
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/22 12:19
#43
|
Just popping in
|
@kas1e
Wow, fantastic. I admire your digging skills and patience :)
|
|
|
|
Re: Introducing Profyler
|
Posted on: 2022/1/21 23:41
#44
|
Just popping in
|
@IamSONIC Quote: Ideal supplement for OS4 developers toolchain. I'd go even further and say that ideally this would be included in the SDK.
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/21 22:52
#45
|
Just popping in
|
@kas1e Quote: It looks like that before sba commit the things, os4 version of SDK comes from patches "hidden on some defunct harddrive somewhere in a landfill in central Europe". Changelog of them probabaly lost. Then, Sebastian just add what he got as last code from brothers and so already "changed" probabaly right after broken ld are in ..
I wrote mail to Sebastan with all details asking for info if he remember any or so, will see what he say. Let's hope Sebastian remembers something. But it's a long long time to remember things like this. Digging into binutils is a major mental challenge, it's a really depressing place to be :)
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/21 22:20
#46
|
Just popping in
|
@kas1e
True, no SDK:s come from the future. Almost only binutils changes between 180 and 231 it seems. No OS4 specific changes in binutils though. Some of it is obviously 68k, but I can't tell if there are generic Amiga changes in there as well.
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/21 18:50
#47
|
Just popping in
|
@kas1e Quote: Added a COMMONPAGE define which has an effect to how the internal linker scripts are populated. Binaries that are produced now with the internally scripts use much less diskspace. I hope that this doesn't have any bad side effects.
Revision: 335 Date: 2010-05-12 21:19 State: Added Branch: trunk Author: sba
In amigaos.sh: Quote: #. ${srcdir}/emulparams/elf32ppccommon.sh TEMPLATE_NAME=amigaos SCRIPT_NAME=amigaos OUTPUT_FORMAT="elf32-amigaos" MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" ++ COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" ALIGNMENT=16 ARCH=powerpc MACHINE= GENERATE_SHLIB_SCRIPT=yes
Maybe, maybe.
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/21 18:08
#48
|
Just popping in
|
@kas1e Good catch. My guess is that those two are built from different revisions of the patch sets found here: https://sourceforge.net/p/adtools/code/254/log/?path=%2FtrunkAs you can see they aren't exactly small and the commit messages aren't very descriptive. The question is who built the SDK:s, and if that someone can be found, does he know what revisions he used? This is all guesswork though, perhaps the patches used are hidden on some defunct harddrive somewhere in a landfill in central Europe.
|
|
|
|
Re: Introducing Profyler
|
Posted on: 2022/1/21 15:26
#49
|
Just popping in
|
@msteed
I fully agree with kas1e. A lot of love has clearly gone into this. Great work!
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/20 18:15
#50
|
Just popping in
|
@kas1e
Excellent, hardcore digging :)
|
|
|
|
Re: Is gprof ever works on os4 ?
|
Posted on: 2022/1/20 17:16
#51
|
Just popping in
|
@kas1e Quote: The next step which i want to do is just trying to create my own hand-made gmon.out, so to see, if the current gprof amigaos4 binary can handle at all gmon.out when there are "correct" values placed. The correctness of those values depends on the binary though. How would would you create such a file? I might be missing something here.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/20 17:06
#52
|
Just popping in
|
@kas1e
I just saw the other thread and that you're trying to isolate the problem. Good idea.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/20 17:02
#53
|
Just popping in
|
@kas1e
I just can't find any tool except gprof that can read gmon.out. It would be nice to know if it's gprof itself that's broken, or if gmon.out contains garbage.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/20 16:59
#54
|
Just popping in
|
@trgswe
Sorry, I was a bit sloppy there, by ISO I meant ISO C, not POSIX. The only mandatory signals are SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV and SIGTERM.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/19 20:34
#55
|
Just popping in
|
@kas1e
Your're probably right. It crashes right away for me though. Does it work for you? (in the sense that you can run the executable and get a gmon.out)
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/19 19:53
#56
|
Just popping in
|
@trgswe
Thanks for noticing. It's not part of the standard (ISO) but I'll add it anyway. I'm afraid it won't help gprof though :(
|
|
|
|
Re: Did anyone trying to port Valgrind ever ?
|
Posted on: 2022/1/18 19:29
#57
|
Just popping in
|
@kas1e
Valgrind is pretty much Linux only. No point in even trying. A much better ide IMO is to try to isolate the hairy parts of your code and to keep them platform agnostic and use Valgrind for those parts only.
An interesting approch is to use AxRuntime to run your complete Amiga program on Linux. Then you must avoid OS4 specific things though.
I used the first approach for InstallerLG and it helped me alot. Tried AxRuntime as well and could get my MUI application to run in an hour or so. AxRuntime deserves more attention I think, it's a very interesting project.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/17 11:53
#58
|
Just popping in
|
@Raziel
Excellent, happy to hear that.
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/12 12:47
#59
|
Just popping in
|
@Raziel Quote: Will there be a bleeding edge build soon-ish? Yep, here: https://github.com/sodero/adtools/releases/tag/10.3.0_1That includes changes in clib2 as well, just minor C11/C2X things. Those changes haven't yet been integrated (so they will be missing if you build adtools yourself right now). I'll create a PR for those tonight unless something unexpected happens though. @kas1e Quote: Yeah, the performance monitor works on x5k in beta now, but it didn't make gprof work. Because gprof stop working correctly some 10 years ago and didn't work where it works before: pegaos2, a1, etc. That's a shame. Do you know the latest working version?
|
|
|
|
Re: gcc 9 and 10
|
Posted on: 2022/1/11 23:11
#60
|
Just popping in
|
@kas1e Yes, I've got an x5000. Good to know that there's a fix on its way. Let's hope that gprof springs to life once it's out. Or perhaps before, you're a beta tester right :) ?
|
|
|
|