AROS Vanilla x86-64

miker1264 · 5991

magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #75 on: March 20, 2023, 10:08:44 PM
I can't seem to identify the problem with gcc in the shell not working correctly for every source code file. Some work and some don't.
Which shell ? Amiga-shell or sh ?
Note that gcc requires quite a lot of stack, try to increase it.

Any special error messages when a build fails or just silence failure ?


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #76 on: March 20, 2023, 10:12:48 PM
I can't seem to identify the problem with gcc in the shell not working correctly for every source code file. Some work and some don't.
Which shell ? Amiga-shell or sh ?
Note that gcc requires quite a lot of stack, try to increase it.

Any special error messages when a build fails or just silence failure ?


The programs seem to compile but some say "not executable".

I increased the stack size to 262144 just because I think that's what Icaros uses. But the same error happens. Not execuatable.
« Last Edit: March 20, 2023, 10:19:09 PM by miker1264 »



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #77 on: March 20, 2023, 10:26:29 PM
@miker:ah, ic. ok.

Compiled programs that result in files that are not executable is a problem of another ballgame. E,g, not really my area of expertise.
Perhaps deadwood knows more about it (although I can understand if he merely has focus for the cross-compiler and not the native (to AROS) one).


cdimauro

  • Member
  • ***
    • Posts: 164
    • Karma: +26/-1
Reply #78 on: March 20, 2023, 10:53:13 PM
Now I have my Build System (cross compiler) setup in Ubuntu 20.04 on the same VM as my Test System for ABIv11. That makes things so much easier and quicker.

The beauty of Ubuntu on VMWare is that I can simply drag-n-drop directly to and from Windows into the VM. I can use the Linux File Manager to quickly move files around and editing in VS Code then dropping it into Linux is a breeze!

I have lots of compiling to do.  8)
If you're using Windows then you should seriously try WSL2, which allows to install a Linux Distro (the most important ones are supported, and this includes Ubuntu, of course) on a VM which is transparently integrated on Windows.


For example, I can open a Ubuntu shell directly from the new Windows Terminal (see first attachment)


Or I can access Ubuntu's filesystem from any Windows applications by using the special \\wsl path (see second attachment).




deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #79 on: March 20, 2023, 11:35:23 PM
The programs seem to compile but some say "not executable".

Try adding -fno-common switch. If this does not help, please share the source code which generates this problem.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #80 on: March 21, 2023, 03:43:24 AM

Try adding -fno-common switch. If this does not help, please share the source code which generates this problem.

Thanks deadwood, -fno-common works !!! now the compiled file is an executable and runs on AROS 64 v11  ;)


@miker

Be careful, on my AROS One 64 v11 that I sent you, it seems that the ZIP compressor has corrupted some files in the "Develpment" folder, I will try to compact it with WinRAR and send it to you, or use the Dvelopment folder attached by deadwood.




« Last Edit: March 21, 2023, 03:46:38 AM by AMIGASYSTEM »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #81 on: March 21, 2023, 07:02:21 AM
miker i upload your tool icon on archives?



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #82 on: March 21, 2023, 07:18:24 AM
Amiwell, I compiled IconClone which you see in the screenshot, when miker will copy it he will decide when to post it on aros archive

--- Italiano ----

Amiwell, ho compilato io IconClone che vedi nello screenshot, quando lo copilerà miker deciderà lui quandio postarlo su aros archive


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #83 on: March 21, 2023, 07:21:16 AM

Thanks deadwood, -fno-common works !!! now the compiled file is an executable and runs on AROS 64 v11  ;)


This is a temporary workaround. Next release of contrib archive will have GCC patched so that adding this argument is not needed.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #84 on: March 21, 2023, 07:26:35 AM

Could you send me a PM with a download link?


miker, this is the link where you can download AROS One 64 ABIv11, now the Development folder should work fine, let me know if it works fine for you now.
I deleted the old post with the old link !

On Windows both "ZIP, RAR and 7Zip", when compressing, corrupt the files of the folder "Development", it works fine instead if you compress Development Linux side with "tar.gz"


https://drive.google.com/file/d/1Rq3Sj3S4U9doeLCy29WqfBn-L5vAAoCq/view?usp=share_link


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #85 on: March 21, 2023, 07:47:20 AM
Amiwell, I compiled IconClone which you see in the screenshot, when miker will copy it he will decide when to post it on aros archive

--- Italiano ----

Amiwell, ho compilato io IconClone che vedi nello screenshot, quando lo copilerà miker deciderà lui quandio postarlo su aros archive

he also compiled iconclone and other utilities I downloaded in fact moderate the tones with me this behavior of yours does not benefit the community



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #86 on: March 21, 2023, 08:02:40 AM
What tone, I simply said that out of respect for Miker I could not post his programs !

---- Ita -----

Quale toni, ho semplicemente detto che per rispetto di Miker non potevo postare io i suoi programmi !


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #87 on: March 21, 2023, 08:44:02 AM
miker i upload your tool icon on archives?

I will package the x86 & x86-64 versions to upload later today. They will replace the older versions. Also I wanted to make sure it works well enough on 64bit in case I need to make changes before I release it.

There some anomalies with IconClone on 64bit I'm testing.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #88 on: March 21, 2023, 12:53:48 PM

There some anomalies with IconClone on 64bit I'm testing.


What kind of anomalies did you find ? maybe i do a test with the one i compiled on AROS One 64 v11 GCC, that seems to work well for me.

Have you tried the new archi of AROS One 64 v11 that I attached today ? did it work well ?

 
« Last Edit: March 21, 2023, 01:17:05 PM by AMIGASYSTEM »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #89 on: March 21, 2023, 01:00:56 PM
miker i upload your tool icon on archives?

I will package the x86 & x86-64 versions to upload later today. They will replace the older versions. Also I wanted to make sure it works well enough on 64bit in case I need to make changes before I release it.

There some anomalies with IconClone on 64bit I'm testing.

yes I tried iconclone I wanted to change a png icon did not work