guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] daemon: Fix '--version'.


From: Alex Vong
Subject: Re: [PATCH 1/2] daemon: Fix '--version'.
Date: Tue, 30 Aug 2016 12:29:22 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello,

address@hidden (Ludovic Courtès) writes:

> Hi!
>
> Alex Vong <address@hidden> skribis:
>
>> This one and the next patch fix '--version' of guix-daemon and
>> guix-register. Currently, they are not working, which is the reason why
>> help2man gives error when building from source.
>
> How are they not working exactly?  :-)
>
> It definitely works for me:
>
> $ ./guix-daemon --version
> guix-daemon (GNU Guix) 0.11.0
> $ ./guix-register --version
> guix-register (GNU Guix) 0.11.0
>
I get this output instead:

$ LC_ALL=C ./guix-daemon --version
./guix-daemon: unrecognized option '--version'
Try `guix-daemon --help' or `guix-daemon --usage' for more information.

This is werid, but I think it is because I build guix with lto.

Here is how I build guix:

$ ./bootstrap && ./configure CFLAGS='-O2 -flto' CXXFLAGS='-O2 -flto' 
LDFLAGS='-O2 -flto' && make -j`nproc` AR=gcc-ar NM=gcc-nm RANLIB=gcc-ranlib

So, perhaps this is a gcc bug! (not guix's one, we can forget about the
patch)

Could you reproduce it?

> Ludo’.

Thanks,
Alex



reply via email to

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