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: Thu, 28 Feb 2019 18:52:37 +0100

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:
> >
> > > APKBUILD based on llvm5 which is already in aports
> > > added diffutils in makedepends
> > > enable check on arm*
> > > rework patches, add some and remove some
> > > ---
> >
> >
> > 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




---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Feb 28 2019 - 18:52:37 UTC