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.

Alec






On Thursday, May 25, 2023 at 10:50:44 AM UTC, renehopf--- via Emc-developers 
<emc-developers@lists.sourceforge.net> wrote: 





clang should work fine, there is a github ci job compiling with clang.

On 25.05.23 12:04, Alec Ari via Emc-developers 
<emc-developers@lists.sourceforge.net> 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: objects/enum.ver:4: ; expected, but got
> >>>> @;
> >>>>    ^
> > clang-16: error: linker command failed with exit code 1 (use -v to
> > see invocation)
> > make: *** [Makefile:1234: ../rtlib/enum.so] Error 1
> > ld.lld: error: objects/counter.ver:4: ; expected, but got
> >>>> @;
> >>>>    ^
> > ld.lld: error: objects/encoder_ratio.ver:4: ; expected, but got
> >>>> @;
> >>>>    ^
> > ld.lld: error: objects/stepgen.ver:4: ; expected, but got
> >>>> @;
> >>>>    ^
> > clang-16: clang-16: error: error: linker command failed with exit
> > code 1 (use -v to see invocation)
> > linker command failed with exit code 1 (use -v to see invocation)
> > clang-16: error: linker command failed with exit code 1 (use -v to
> > see invocation)
> > make: *** [Makefile:1234: ../rtlib/counter.so] Error 1
> > make: *** [Makefile:1234: ../rtlib/encoder_ratio.so] Error 1
> > make: *** [Makefile:1234: ../rtlib/stepgen.so] Error 1
> > ld.lld: error: objects/lcd.ver:4: ; expected, but got
> >>>> @;
> >>>>    ^
> > clang-16: error: linker command failed with exit code 1 (use -v to
> > see invocation)
> > make: *** [Makefile:1234: ../rtlib/lcd.so] Error 1
> > 1 warning generated.
> 
> 
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers

> 


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to