Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[install] make FAILS #186

Closed
vieks opened this issue Aug 18, 2019 · 2 comments
Closed

[install] make FAILS #186

vieks opened this issue Aug 18, 2019 · 2 comments

Comments

@vieks
Copy link

vieks commented Aug 18, 2019

~/Downloads/libmill-1.18 # make
CC libmill_la-chan.lo
CC libmill_la-cr.lo
CC libmill_la-debug.lo
CC libmill_la-ip.lo
In file included from ip.c:44:
ip.c: In function 'mill_ipremote_':
dns/dns.h:1009:24: error: lvalue required as unary '&' operand
1009 | #define dns_opts(...) (&dns_quietinit((struct dns_options)DNS_OPTS_INIT(VA_ARGS)))
| ^
ip.c:268:31: note: in expansion of macro 'dns_opts'
268 | mill_dns_hints, NULL, dns_opts(), &rc);
| ^~~~~~~~
make: *** [Makefile:1190: libmill_la-ip.lo] Error 1

@vieks
Copy link
Author

vieks commented Aug 18, 2019

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 9.1.0 (GCC)

@vieks
Copy link
Author

vieks commented Aug 18, 2019

by using an older GCC version, 8, it compiles well.

but now a new problem is emerging:
make check:
tests/ip

%CPU100 lt-ip

the test is hanging by using 100% of the CPU time, same that:
#185

@vieks vieks closed this as completed Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant