Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
50 user(s) are online (30 user(s) are browsing Forums)

Members: 1
Guests: 49

skynet, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 4 ... 72 »
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@Kas1e

Thanks !

Sam460ex
Os4.1 Final Edition
2GB Fast Memory
envy 24 HT sound card
HD R9 TRIX 280X 3GO GDDR5
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
@kas1e

"Need speelchecking.library" is this an intentional spelling pun? ;)

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@ddni

+1

Seriously though it is great to read regular updates.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
Very cool :)

Alien Air Attack

SAM440@733 mhz as main amiga.
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
Nice to see its already on work :D

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
kas1e for PRESIDENT!

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

Thanks! Nice to see it´s going forward.

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
NICE!

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
Cool!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@all
Ok, so far all the linking errors fixed, everything ok, but, for making final binary there is one linking and fresh error remain (like anyone think it will be the same as with other versions:) ).

So, problem (i think) is the size of the final binary, when we use ffmpeg together with latest webkit core. ffmpeg static libraries by itself is about 100mb of size now (latest ones, even just libavcodec.a bigger on 20mb now), as well as all main odysseys static libs are about 80mb of size.

In end, when final linking is about to be done , it fails with such errors:

Quote:

main.cpp:(.text+0x130): relocation truncated to fit: R_PPC_REL24 against symbol `setjmp' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub_setjmp.o)
../Tools/OWBLauncher/CMakeFiles/owb.dir/MorphOS/main.cpp.obj: In function `create_application(char*)':
main.cpp:(.text+0x374): relocation truncated to fit: R_PPC_REL24 against symbol `__getreent' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub___getreent.o)
main.cpp:(.text+0x38c): relocation truncated to fit: R_PPC_REL24 against symbol `fwrite' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub_fwrite.o)
../Tools/OWBLauncher/CMakeFiles/owb.dir/MorphOS/main.cpp.obj: In function `open_libs()':
main.cpp:(.text+0xa5c): relocation truncated to fit: R_PPC_REL24 against symbol `__getreent' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub___getreent.o)
main.cpp:(.text+0xa74): relocation truncated to fit: R_PPC_REL24 against symbol `fwrite' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub_fwrite.o)
main.cpp:(.text+0xaa0): relocation truncated to fit: R_PPC_REL24 against symbol `__getreent' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub___getreent.o)
main.cpp:(.text+0xab8): relocation truncated to fit: R_PPC_REL24 against symbol `fwrite' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub_fwrite.o)
main.cpp:(.text+0xac4): relocation truncated to fit: R_PPC_REL24 against symbol `__getreent' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub___getreent.o)
main.cpp:(.text+0xadc): relocation truncated to fit: R_PPC_REL24 against symbol `fwrite' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub_fwrite.o)
main.cpp:(.text+0xc14): relocation truncated to fit: R_PPC_REL24 against symbol `__getreent' defined in .text section in /usr/local/amiga/ppc-amigaos/SDK/newlib/lib/libc.a(stub___getreent.o)
main.cpp:(.text+0xc2c): additional relocation overflows


And there is more , for almost all usual amiga functions from lib.a, and in all the objects.

All what i can notice while linking happens, is that it all reach moment when binary are 145mb of size (holy shit!), and then on moment when it all should be done, it fail with such errors.

I of course can think that stripping and co will help after all, and binary can be reduced to something more adequate, but, as far as i understand, all those errors happens now because of the size of binary.

All what i found currently is that thread: http://www.amigans.net/modules/xforum ... t_id=47726#forumpost47726
which in end mean "recompiling everything with -mlongcall", but problem that the code gets slightly slower then and so you know what results is.. I already do test if -mlongcall will help on one of objects, and it is, i can recompile everything with it, but it also mean code will be slower.

Any ideas / suggestions ?


Edited by kas1e on 2014/1/24 11:40:42
Edited by kas1e on 2014/1/24 11:43:20
Edited by kas1e on 2014/1/24 11:50:01
Edited by kas1e on 2014/1/24 11:50:32
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
Total lamer suggestion, but can split the binary into a core and add on type set up?

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Odyssey 1.23 progress
Amigans Defender
Amigans Defender


See User information
try to enlarge the text section using something like -Ttext=2000000 to cflags/cppflags

i'm really tired...
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@afxgroup
Quote:

try to enlarge the text section using something like -Ttext=2000000 to cflags/cppflags


For all the objects ? (that also mean recompiling of beast => one more day).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@afxgroup
Tried on one of objects (where -mlongcall make it works), and -Ttext=2000000 didn't help

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@all
Found that in morphos build -mlongcall also in use. So, will rebuild everything with it now (damn!). Through, that mean 1.23 will be slower somewhere. Dunno when -mlongcall start to be in use , but till 1.17 there wasn't. But as Fab add it then its all expected, so one more day till binary done as whole recompile starts. But for sure with -mlongcall things going to be slower (google says same). As well as attaching that huge-fat ffmpeg libraries will make loading of binary slower, too, as binary will be bigger.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Amigans Defender
Amigans Defender


See User information
which cpu are you using? did you use the -j switch when compiling?

i'm really tired...
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@afxgroup
Quote:

which cpu are you using? did you use the -j switch when compiling?

Of course all with -jX, it speed up things a little , but as i build it on cygwin on notebook which i just buy for some simple text work that just tells and speed pretty sucky. I thinking about build it on some of my remote linux servs, but repeat all the same steps now which i do in last days but on another serv pretty boring, so better just wait a day :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Amigans Defender
Amigans Defender


See User information
cygwin has become too slow.. try with linux/mac and you will notice the differences..

i'm really tired...
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@afxgroup
Yep, i already tested it with dopus5 : whole dopus5 builds on my cygwin for about 30 minutes i think. On dopus5.org serv (which is just some common linux with more or less ok cpu) , build whole dopus5 for about 7 minutes. That for os4 version, os3 version builds even faster. Its and cygwin slower in few times, and cpu differences make sense of course :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

Well, I didn't use the longcall option without reason. The executable got too large at some point, and it couldn't be avoided without annoying hacks.

That being said, you're not forced to make it even 50 MB larger than required by linking the whole ffmpeg libraries. Just build the decoders/formats/parsers in the HTML5 specification, it will take less than 5MB then.

For instance, using the following options would be a good start:
--arch=powerpc --cpu=powerpc --enable-runtime-cpudetect --disable-indevs --disable-protocols --enable-protocol=file --disable-network --disable-encoders --disable-decoders --disable-hwaccels --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-devices --disable-filters --enable-decoder=aac --enable-decoder=aac_latm --enable-decoder=h264 --enable-decoder=mp3 --enable-decoder=theora --enable-decoder=vorbis --enable-demuxer=aac --enable-demuxer=aac_latm --enable-parser=aac --enable-parser=aac_latm --enable-demuxer=mp3 --enable-demuxer=mov --enable-demuxer=ogg --enable-parser=mpegaudio --enable-bsf=h264_mp4toannexb --enable-decoder=pcm --enable-decoder=wav --enable-demuxer=flv --enable-decoder=flv --enable-decoder=h263 --enable-decoder=vp8 --enable-demuxer=vp8 --enable-parser=vp8 --enable-decoder=vp9 --enable-demuxer=vp9 --enable-parser=vp9 --enable-bsf=aac_adtstoasc --enable-decoder=mpeg4 --enable-parser=mpeg4video --enable-demuxer=matroska)

Oh, and by the way, you probably won't even notice a difference between using longcall or not in an application like Odyssey. I didn't see any in benchmarks, at least.

Go to top

  Register To Post
(1) 2 3 4 ... 72 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
7 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project