[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: |
Thu, 04 Feb 2021 16:22:36 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Phillip Lord <phillip.lord@russet.org.uk> writes:
> akrl--- via "Emacs development discussions." <emacs-devel@gnu.org>
> writes:
>
>> Phillip Lord <phillip.lord@russet.org.uk> writes:
>>> At the moment, .eln-cache is going to just pile up in size, no, even for
>>> normal users over versions. So, I guess the version number is useful to
>>> know which is oldest.
>>
>> I pushed two commits to diet down the hashes and remove the triplet from
>> eln filenames, now looking like the following:
>>
>> ~/.emacs.d/eln-cache/28.0.50-a45dccd2/advice-791b3e89-08434428.eln
>>
>> Thinking about I agree having the version there is still helpful so I
>> letf it for now, anyway I've no strong feeling against removing it if
>> Eli prefers.
>
>
> I've now got native-comp building successfully to a package.
nice!
> At the moment, the compilation process only runs successfully when run
> from an mingw64 shell, so I haven't got the dependencies working
> correctly yet.
>
> The error I am getting is this:
>
> Compiling
> c:/msys64/home/Administrator/emacs-upload/emacs-28.0.50-snapshot-feature_native-comp-windows-2021-02-04/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el...
> compiling to
> c:/Users/Administrator/AppData/Roaming/.emacs.d/eln-cache/28.0.50-14889799/cl-lib-8b938900-d1df28b7.eln
> x86_64-w64-mingw32-gcc-10.2.0: fatal error: cannot execute 'as':
> CreateProcess: No such file or directory
> compilation terminated.
Mmmh ATM I don't know why the internal GCC driver is not finding as,
might be for one of these env vars [1]?
>
> I've tried putting as.exe manually into the package but that isn't
> enough. as.exe doesn't seem to have any dll dependencies itself.
>
> Andrea what other tools does native-comp require to have around? Is
> there a good way to debug the compilation process, so I can work out
> what the file missing is?
I'd say linker and assembler.
I think if we don't solve with the mentioned env vars or we are unappy
with the solution these are really questions for jit@gcc.gnu.org.
Thanks
Andrea
[1]
<https://gcc.gnu.org/onlinedocs/jit/internals/index.html#environment-variables>
- Re: [feature/native-comp] breakage on build, (continued)
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/07
- Re: [feature/native-comp] breakage on build, Óscar Fuentes, 2021/02/07
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/07
- Re: [feature/native-comp] breakage on build, Stefan Monnier, 2021/02/07
- Re: [feature/native-comp] breakage on build, Óscar Fuentes, 2021/02/07
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/07
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/07
- Re: [feature/native-comp] breakage on build, Óscar Fuentes, 2021/02/07
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/08
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/06
- Re: [feature/native-comp] breakage on build,
Andrea Corallo <=
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/04
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/04
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/05
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/05
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/05
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/05
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/05
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/06
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/06
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/06