Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/llvm6: new aport llvm major release (6.0.1)

From: Milan P. Stanić <mps_at_arvanta.net>
Date: Fri, 1 Mar 2019 12:56:48 +0100

On Thu, 2019-02-28 at 18:52, Milan P. Stanić wrote:
> On Thu, 2019-02-28 at 18:29, Milan P. Stanić wrote:
> > On Thu, 2019-02-28 at 09:37, Natanael Copa wrote:
> > > On Fri, 8 Feb 2019 20:05:25 +0100
> > > Milan P. Stani* <mps_at_arvanta.net> wrote:
[...]
> > > This fails to build for me:
> > > [ 79%] Built target LLVMX86CodeGen
> > > Scanning dependencies of target LLVM
> > > [ 79%] Building CXX object tools/llvm-shlib/CMakeFiles/LLVM.dir/libllvm.cpp.o
> > > [ 79%] Linking CXX shared library ../../lib/libLLVM-6.0.so
> > > /usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../lib/libncursesw.a(lib_cur_term.o): relocation R_X86_64_PC32 against symbol `cur_term' can not be used when making a shared object; recompile with -fPIC
> > > /usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: final link failed: bad value
> > > collect2: error: ld returned 1 exit status
> > > make[2]: *** [tools/llvm-shlib/CMakeFiles/LLVM.dir/build.make:247: lib/libLLVM-6.0.so] Error 1
> > > make[1]: *** [CMakeFiles/Makefile2:20952: tools/llvm-shlib/CMakeFiles/LLVM.dir/all] Error 2
> > > make: *** [Makefile:152: all] Error 2
> >
> > On which architecture you run it when you got these error?
>
> Sorry, I'm blind.
>
> x86_64-alpine-linux-musl
>
> that is after upgrade gcc to 8.3 I see
> I worked on that when it was 8.2 and there it worked
>
> We need to see what is changed/introduced with gcc 8.3

I did on x86_64, aarch64 and armv7 'apk update' 'apk upgrade' to upgrade
gcc to 8.3 and rest of upgraded packages to get to latest edge.
After that on each mentioned arch I did:
'abuild deps unpack prepare build check' and it passed on all of them.
Didn't do 'abuild -r' for now to not overwrite built packages in
~/packages subdirs.

Don't know how to reproduce errors you have got.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Mar 01 2019 - 12:56:48 UTC