Fixing issues found in current buildd logs for moarvm

Daniel Dehennin daniel.dehennin at baby-gnu.org
Wed Jun 24 22:19:09 UTC 2015


Daniel Dehennin <daniel.dehennin at baby-gnu.org> writes:

> It happens only on kfreebsd-amd64 and I'm not sure to understand this
> issue.
>
> I run blhc on the log output and get[3]:
>
>     LDFLAGS missing (-Wl,-z,relro -Wl,-z,now): gcc -O3 -DNDEBUG -g3  \
>         -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 \
>         -fstack-protector-strong -Wformat -Werror=format-security \
>         -D_FORTIFY_SOURCE=2 -DMVM_TRACING=0 -DMVM_CGOTO=1 \
>         3rdparty/dynasm/minilua.c -o 3rdparty/dynasm/minilua \
>         -ltommath -latomic_ops -lm -lpthread -lkvm -lrt -ldl
>
> It looks like minilua.c is not build on other architectures as I do not
> find occurrence of it in logs.

I found the same on my local build log for amd64, since it's used by JIT
and JIT only works on 64bits architectures.

I'm not sure we are concerned by this since this minilua is only used at
build time to generate some .c files. It's not packaged nor linked in
MoarVM binaries.

We could add a patch to add $(LDFLAGS) to 3rdparty/dynasm/minilua at exe@
target in build/Makefile.in if we want to silent this issue.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 342 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-rakudo-devel/attachments/20150625/701e63be/attachment.sig>


More information about the Pkg-rakudo-devel mailing list