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

Nightly builds are broken again #6149

Closed
Gama11 opened this issue Mar 31, 2017 · 8 comments
Closed

Nightly builds are broken again #6149

Gama11 opened this issue Mar 31, 2017 · 8 comments

Comments

@Gama11
Copy link
Member

Gama11 commented Mar 31, 2017

The latest builds for all platforms (but most importantly linux64, which powers Travis) were on March 23rd:

http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/linux64/

Presumably 501b7a6 broke the builds. Ping @waneck.

@ibilon
Copy link
Member

ibilon commented Mar 31, 2017

The mac one is also used by travis.

@waneck
Copy link
Member

waneck commented May 11, 2017

FWIW, there is a STATICLINK option on the makefile that takes care of the linux version. For mac, we need to call it with "LIB_PARAMS=-cclib $APPLE_ROOT/usr/lib/libpcre.a -cclib -lz"

@andyli
Copy link
Member

andyli commented May 31, 2017

I've just checked the STATICLINK option in Linux. It successfully linked pcre statically, but there is still a runtime dependency of libz.so.1. It is probably caused by the camlzip package itself dynamically linked to zlib. I'm not sure if there is an easy way to build a statically linked camlzip during opam install...

@Simn
Copy link
Member

Simn commented May 31, 2017

We already link zlib statically via extc, don't we?

@andyli
Copy link
Member

andyli commented May 31, 2017

I don't know, but libz.so.1 is indeed referenced:

$ lld -v ./haxe
        linux-vdso.so.1 =>  (0x00007fffee8fa000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdcddcc0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdcddaa0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdcdd780000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdcdd570000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdcdd1a0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdcde000000)

        Version information:
        ./haxe:
                libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                libz.so.1 (ZLIB_1.2.0) => /lib/x86_64-linux-gnu/libz.so.1
                libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6
                libc.so.6 (GLIBC_2.15) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.11) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                libpthread.so.0 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libpthread.so.0
        /lib/x86_64-linux-gnu/libz.so.1:
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libpthread.so.0:
                ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libm.so.6:
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libdl.so.2:
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libc.so.6:
                ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

@Simn
Copy link
Member

Simn commented May 31, 2017

If you're sure it's camlzip and there's no easy way to avoid this, we should bring back our copy of it and use that instead.

@Simn
Copy link
Member

Simn commented May 31, 2017

See if that helped

@andyli
Copy link
Member

andyli commented May 31, 2017

Yes, that works! Will look into the Mac build when I get home.

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

5 participants