Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
135 user(s) are online (127 user(s) are browsing Forums)

Members: 0
Guests: 135

more...

Support us!

Headlines

 
  Register To Post  

ccache (2.4-1) broken?
Home away from home
Home away from home


See User information
Hi,

i just tried to use ccache 2.4-1 from OS4Depot and it seems to be completely dead.

ccache --version
ccache --help
and all the other commands do absolutely nothing, no output, no error message.

AmigaShell reports error 205, whatever that means.

I do have a HOME:.ccache directory set up, but nothing happens.

Is there a chance for someone to update the release? (Unfortunately release 2.4 makes use of fork(), not sure about the latest 4.x releases)

Thank you

Go to top
Re: ccache (2.4-1) broken?
Home away from home
Home away from home


See User information
@Raziel

run snoopy, maybe a library is not opening.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: ccache (2.4-1) broken?
Home away from home
Home away from home


See User information
@LiveForIt

OK, i got it to work, my HOME variable was broken

But now i'm facing a path problem of sorts.

ccache (and it's softlinks) have to be installed in /usr/local/bin.
Our compilers though, reside in /gcc

ccache only works if it is called BEFORE the compiler binaries (checked with the "which" command).

Now, while on a linux/posix install the compiler stuff normally goes into /usr/bin, at least that's what the readme says (which comes AFTER /usr/local) and which will be picked first, but not with /gcc (which will ALWAYS be picked first)

I tried renaming the gcc assign, but the compilers seem to rely on GCC: being available.

Any ideas?


edit:
grr...it's as easy as changing the path ordering, /usr/local/bin has to be set before gcc: and all is working

Go to top
Re: ccache (2.4-1) broken?
Home away from home
Home away from home


See User information
Too bad...

It runs to an extent...after some time i'm getting hit by ELF Libary errors, telling me "Out of memory" (where i still have lots of free RAM) when executing perfectly fine binaries (mkdir, cc1, even Odyssey refused to start).

Something is broken :-/

Go to top
Re: ccache (2.4-1) broken?
Home away from home
Home away from home


See User information
Ah...ok, ok

POSIX/usr/local/bin holds a mirrored list of file from SDK:local/c
but some of them are much older and
because the path sorting order was changed these old binaries are used and are causing the ELF Library errors...

Now
1) Why is there a mirrored list of commands?
2) Why is this list not on par with SDK:local/c (which is clearly updated while the other is not)
3) Why am i talking to mylsef again?

...

Now, lets see what happens if i softlink sdk:local/c to usr:local/bin


Yeah...no

cccache is too old...


Edited by Raziel on 2022/7/20 9:25:08
Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project