Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-06-02 Thread Alec Ari via Emc-developers
I fixed the Gentoo package for now to fix the Clang 16 error, sed oneliner: 's#-Wl,--version-script,objects/\$\*.ver ##' Just temporary until it gets fixed the right way. ebuild: https://github.com/NTULINUX/ntu_overlay/tree/main/sci-electronics/linuxcnc Alec

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-06-01 Thread Alec Ari via Emc-developers
Just my two cents, I use Gentoo for everything. When dealing with ARM64 boards I start with a fully custom kernel and U-Boot image, and do the root filesystem myself. I steer away from Debian due to poor performance. Gentoo isn't as user-friendly so that's the trade off. At least for AMD64

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread Alec Ari via Emc-developers
Rene, Thanks! I just came across the same thing! I opened up the version files and saw garbage in them. I was able to narrow this down by using the BFD linker instead and saw errors like: /usr/bin/x86_64-pc-linux-gnu-ld.bfd:objects/debounce.ver:4: ignoring invalid character `\017' in script

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread Alec Ari via Emc-developers
Oh, I see, I read the Github issue you posted: https://apt.llvm.org/ Heh, that's pretty cool! Alec ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread gene heskett
On 5/26/23 15:34, Rod Webster wrote: @gene, there are many ways to get ARM64 onto a pi4b. One way is to download a Debian Bookworm image from Debian: https://raspi.debian.net/daily-images/ and install it using the normal Raspberry imager tool This will give you a CLI only with a root user with

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread Rod Webster
@gene, there are many ways to get ARM64 onto a pi4b. One way is to download a Debian Bookworm image from Debian: https://raspi.debian.net/daily-images/ and install it using the normal Raspberry imager tool This will give you a CLI only with a root user with no password. Add yourself a user, add

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread gene heskett
On 5/25/23 21:21, Alec Ari via Emc-developers wrote: Yes but it's been awhile, I've actually done some U-Boot development in the past. This problem with the linker is not kernel related though. Alec Well, the reason I asked is that the kernel I built and have been running, on the rpi4b

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-26 Thread Rene Hopf via Emc-developers
I can reproduce the problem, and working on a fix. https://github.com/LinuxCNC/linuxcnc/issues/2509 as a workaround you can just remove the version script, it isnt actually needed. Rene On 26.05.23 02:50, Alec Ari via Emc-developers wrote: Yes but it's been awhile, I've actually done some

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Alec Ari via Emc-developers
Yes but it's been awhile, I've actually done some U-Boot development in the past. This problem with the linker is not kernel related though. Alec On Friday, May 26, 2023 at 12:00:10 AM UTC, gene heskett wrote: On 5/25/23 19:13, Alec Ari via Emc-developers wrote: > 16.0.4 > > Just

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Rene Hopf via Emc-developers
> On 26. May 2023, at 00:11, Alec Ari via Emc-developers > wrote: > > Right, that's why I'm here. I don't know what's going on and need help. This > is the last step then my Gentoo work is done and I can publish everything. > LinuxCNC compiled before on Gentoo a few months ago and this is

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread gene heskett
On 5/25/23 19:13, Alec Ari via Emc-developers wrote: 16.0.4 Just throwing this out there; I can write up the docs on how to use it, push the image to Github, finalize the installer and then anyone can try getting the last bits sorted out hands on. Latency and system performance surpasses

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Alec Ari via Emc-developers
16.0.4 Just throwing this out there; I can write up the docs on how to use it, push the image to Github, finalize the installer and then anyone can try getting the last bits sorted out hands on. Latency and system performance surpasses Debian by a mile, there's also four different PREEMPT_RT

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Alec Ari via Emc-developers
Right, that's why I'm here. I don't know what's going on and need help. This is the last step then my Gentoo work is done and I can publish everything. LinuxCNC compiled before on Gentoo a few months ago and this is basically the same build, just a newer version of Clang and LLD than before.

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread renehopf--- via Emc-developers
clang should work fine, there is a github ci job compiling with clang. On 25.05.23 12:04, Alec Ari via Emc-developers wrote: Hello, I think this might be because I'm using Clang+LLD 16 but I'm not sure.. These look like syntax errors, not an environment/cache issue. Alec > ld.lld: error:

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Alec Ari via Emc-developers
Hello, I think this might be because I'm using Clang+LLD 16 but I'm not sure.. These look like syntax errors, not an environment/cache issue. Alec > ld.lld: error: objects/enum.ver:4: ; expected, but got > > > > @; > > > >   ^ > clang-16: error: linker command failed with exit code 1 (use -v

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Nicklas SB Karlsson
sudo ldconfig ? tor 2023-05-25 klockan 03:52 + skrev Alec Ari via Emc-developers: > Hi everyone, > > I have built the Gentoo image for LinuxCNC, real-time kernel and all > with WiFi+wired ethernet support for many of the common USB NICs but > now running into trouble building LinuxCNC