emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature/native-comp] breakage on build


From: Andrea Corallo
Subject: Re: [feature/native-comp] breakage on build
Date: Fri, 05 Feb 2021 11:35:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Phillip Lord <phillip.lord@russet.org.uk> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>> Phillip Lord <phillip.lord@russet.org.uk> writes:
>>
>>> Andrea Corallo <akrl@sdf.org> writes:
>>>
>>>> Phillip Lord <phillip.lord@russet.org.uk> writes:
>>>>
>>> I've tried adding ld.exe and as.exe, and altering the path (at runtime
>>> which Eli says is bad).
>>>
>>> I am now getting this error message; it's different so that's obviously
>>> part of the problem.
>>>
>>>    Warning (comp): Debugger entered--Lisp error: (native-ice
>>> "c:/msys64/home/Administrator/emacs-upload/emacs-28..." "failed to
>>> compile" "c:/Users/Administrator/AppData/Roaming/.emacs.d/el..."
>>> "error invoking gcc driver") Disable showing Disable logging
>>>
>>>
>>> I'm try following up on jit@gcc as you suggest. They may well know what
>>> I need for a minimal functional install. Once I have that, I can work
>>> out how to achieve it in the package. At this rate, though, I fear that
>>> I am moving back to shipping half of msys.
>>
>> Hi Phillip,
>>
>> you should see the full error in the *Async-native-compile-log*
>> buffer.
>
>
> Oh, yes, looking in the wrong buffer, silly me.
>
> It's ld/as not finding things that is causing the problem.
>
> Phil

Probably saying something stupid here as I've no idea how this packaging
process works in Windows or exactly what it means but anyway...

In GNU/linux I do something similar in my Docker recipe where I need to
move all the libgccjit stuff from the build container to the one I ship.

How I do it is just to configure and compile libgccjit using --prefix
and then in the target directory I know I've everything I need for that
[1].

Just an idea, hope it helps.

Thanks

  Andrea

[1] 
<https://gitlab.com/koral/emacs-nativecomp-dockerfile/-/blob/master/Dockerfile>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]