[Top][All Lists]

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

Re: source file ... .scm newer than compiled ... .go file

From: Jean Abou Samra
Subject: Re: source file ... .scm newer than compiled ... .go file
Date: Wed, 2 Nov 2022 12:42:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 02/11/2022 à 12:02, Federico Bruni a écrit :
Il giorno mer 2 nov 2022 alle 00:12:07 +0100, Jean Abou Samra <> ha scritto:
Your patch to Guile disables recompilation with a "return 1;"
at the end of the function but keeps the logic of the check and
the messages. Just additionally remove the code just above the line
it's touching, or add "return 1;" at the beginning of the function
rather than at the end.

I tried removing the whole function, but it's used later, as I got this error:

/usr/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: ./.libs/ undefined reference to `compiled_is_fresh'

$ git grep -n compiled_is_fresh
libguile/load.c:550:compiled_is_fresh (SCM full_filename, SCM compiled_filename,
libguile/load.c:749: !compiled_is_fresh (source_file_name, found,
libguile/load.c:1221: && compiled_is_fresh (full_filename, fallback,

So I'd better use "return 1;" at the beginning of the function? Where exactly? After the opening "{"?


reply via email to

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