not-to-be-build: llvm-toolchain-3.8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

not-to-be-build: llvm-toolchain-3.8

Mathieu Malaterre-4
Hi,

Does anyone knows that status of llvm-toolchain-3.8 on powerpcspe ?

https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.8&suite=sid

It is marked as Not-For-Us while it builds fine on powerpc, ppc64 & ppc64el

Reply | Threaded
Open this post in threaded view
|

Re: not-to-be-build: llvm-toolchain-3.8

John Paul Adrian Glaubitz
Hi Mathieu!

On 08/15/2017 03:35 PM, Mathieu Malaterre wrote:
> Does anyone knows that status of llvm-toolchain-3.8 on powerpcspe ?
>
> https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.8&suite=sid

So far, all LLVM versions which attempted to build on PowerPCSPE failed [1],
so I set llvm-toolchain-* to "Not-For-Us" for the time being until I have
time investigating the issue. I just want to save buildd time which would
go wasted given there are so many different LLVM packages.

It fails with:

/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
CMakeFiles/liblldb.dir/SBBlock.cpp.o(.debug_addr+0x60): error: undefined reference to '__atomic_fetch_add_8'
/usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
CMakeFiles/liblldb.dir/SBFunction.cpp.o(.debug_addr+0x580): error: undefined reference to '__atomic_fetch_add_8'

which should be fixable by adding -latomic appropriately.

However, it also fails with:

/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation overflow
/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation overflow
/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:438: error: relocation overflow
/<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:813: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:434: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:778: error: relocation overflow
/<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:793: error: relocation overflow

and I don't have the clue yet what the problem is.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.8&arch=powerpcspe&ver=1%3A3.8.1-18&stamp=1489744266&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: not-to-be-build: llvm-toolchain-3.8

John Paul Adrian Glaubitz
On 08/15/2017 03:44 PM, John Paul Adrian Glaubitz wrote:
> So far, all LLVM versions which attempted to build on PowerPCSPE failed [1],
> so I set llvm-toolchain-* to "Not-For-Us" for the time being until I have
> time investigating the issue. I just want to save buildd time which would
> go wasted given there are so many different LLVM packages.

Correction: At least 3.6 built fine at some point:

> https://buildd.debian.org/status/logs.php?pkg=llvm-toolchain-3.6&arch=powerpcspe

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: not-to-be-build: llvm-toolchain-3.8

Mathieu Malaterre-4
In reply to this post by John Paul Adrian Glaubitz
On Tue, Aug 15, 2017 at 3:44 PM, John Paul Adrian Glaubitz
<[hidden email]> wrote:

> Hi Mathieu!
>
> On 08/15/2017 03:35 PM, Mathieu Malaterre wrote:
>> Does anyone knows that status of llvm-toolchain-3.8 on powerpcspe ?
>>
>> https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.8&suite=sid
>
> So far, all LLVM versions which attempted to build on PowerPCSPE failed [1],
> so I set llvm-toolchain-* to "Not-For-Us" for the time being until I have
> time investigating the issue. I just want to save buildd time which would
> go wasted given there are so many different LLVM packages.
>
> It fails with:
>
> /usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
> /usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
> /usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
> /usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
> /usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
> /usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
> /usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
> /usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
> /usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
> CMakeFiles/liblldb.dir/SBBlock.cpp.o(.debug_addr+0x60): error: undefined reference to '__atomic_fetch_add_8'
> /usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
> CMakeFiles/liblldb.dir/SBFunction.cpp.o(.debug_addr+0x580): error: undefined reference to '__atomic_fetch_add_8'
>
> which should be fixable by adding -latomic appropriately.
>
> However, it also fails with:
>
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation overflow
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation overflow
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:438: error: relocation overflow
> /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:813: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:434: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:778: error: relocation overflow
> /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:793: error: relocation overflow
>
> and I don't have the clue yet what the problem is.

Did you try a local build without using 'gold' (see d/rules) ? I see
some vaguely related bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=18147

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: not-to-be-build: llvm-toolchain-3.8

John Paul Adrian Glaubitz
On 08/15/2017 05:34 PM, Mathieu Malaterre wrote:
> Did you try a local build without using 'gold' (see d/rules) ? I see
> some vaguely related bug:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=18147

Not yet. You are right, the bug report looks very suspicious although
this should already be fixed for the binutils version in Debian.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913