Build on Debian Linux 9

12 views
Skip to first unread message

Dmitry Ponyatov

unread,
Oct 30, 2018, 10:17:07 AM10/30/18
to XL programming language and runtime
Has problems with xl2 build:

dpon@dpon:~$ g++ --version
g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dpon@dpon:~$ dpkg -l|grep gcc
ii  gcc                                    4:6.3.0-4                                amd64        GNU C compiler
ii  gcc-6                                  6.3.0-18+deb9u1                          amd64        GNU C compiler
ii  gcc-6-arm-linux-gnueabihf              6.3.0-18cross1                           amd64        GNU C compiler
ii  gcc-6-arm-linux-gnueabihf-base:amd64   6.3.0-18cross1                           amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-6-base:amd64                       6.3.0-18+deb9u1                          amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-6-base:i386                        6.3.0-18+deb9u1                          i386         GCC, the GNU Compiler Collection (base package)
ii  gcc-6-cross-base                       6.3.0-18cross1                           all          GCC, the GNU Compiler Collection (library base package)
ii  gcc-6-multilib                         6.3.0-18+deb9u1                          amd64        GNU C compiler (multilib support)
ii  libgcc-6-dev:amd64                     6.3.0-18+deb9u1                          amd64        GCC support library (development files)
ii  libgcc1:amd64                          1:6.3.0-18+deb9u1                        amd64        GCC support library

dpon@dpon:~$ dpkg -l|grep g++
ii  g++                                    4:6.3.0-4                                amd64        GNU C++ compiler
ii  g++-6                                  6.3.0-18+deb9u1                          amd64        GNU C++ compiler

dpon@dpon:~$ dpkg -l|grep llvm
ii  libllvm3.8:amd64                       1:3.8.1-24                               amd64        Modular compiler and toolchain technologies, runtime library
ii  libllvm3.9:amd64                       1:3.9.1-9                                amd64        Modular compiler and toolchain technologies, runtime library
ii  libllvm3.9:i386                        1:3.9.1-9                                i386         Modular compiler and toolchain technologies, runtime library
ii  llvm                                   1:3.8-36                                 amd64        Low-Level Virtual Machine (LLVM)
ii  llvm-3.8                               1:3.8.1-24                               amd64        Modular compiler and toolchain technologies
ii  llvm-3.8-dev                           1:3.8.1-24                               amd64        Modular compiler and toolchain technologies, libraries and headers
ii  llvm-3.8-runtime                       1:3.8.1-24                               amd64        Modular compiler and toolchain technologies, IR interpreter
ii  llvm-dev                               1:3.8-36                                 amd64        Low-Level Virtual Machine (LLVM), libraries and headers
ii  llvm-runtime                           1:3.8-36                                 amd64        Low-Level Virtual Machine (LLVM), bytecode interpreter

build.err
build.log

Christophe de Dinechin

unread,
Oct 30, 2018, 4:02:45 PM10/30/18
to xlr-...@googlegroups.com
Hey,


Could you send me the build log?


Thanks
Christophe
> --
> You received this message because you are subscribed to the Google Groups "XL programming language and runtime" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to xlr-talk+u...@googlegroups.com.
> To post to this group, send email to xlr-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/xlr-talk.
> For more options, visit https://groups.google.com/d/optout.
> <build.err><build.log>

Christophe de Dinechin

unread,
Oct 30, 2018, 4:09:32 PM10/30/18
to xlr-...@googlegroups.com

> On 30 Oct 2018, at 21:02, Christophe de Dinechin <chris...@taodyne.com> wrote:
>
> Hey,
>
>
> Could you send me the build log?
>

Sorry, the two attachment icons where white on white for some reason, I missed them, but saw them in the web interface (where they show as blue).

Christophe

Christophe de Dinechin

unread,
Oct 30, 2018, 4:36:43 PM10/30/18
to xlr-...@googlegroups.com
At first sight, the problem seems to be that the generated code uses ‘decltype’, which is a keyword in recent versions of C++. I guess your versions of C++ activates C++11 by default.

Better to fix it in the source. I’m downloading a deb9 ISO as we speak to make sure the fix works there. I will keep you posted.


Thanks
Christophe

> On 30 Oct 2018, at 15:17, Dmitry Ponyatov <dpon...@gmail.com> wrote:
>

Dmitry Ponyatov

unread,
Oct 30, 2018, 11:18:22 PM10/30/18
to XL programming language and runtime
Maybe it is better to use clang as anyway we use LLVM to build a half?

Christophe de Dinechin

unread,
Oct 31, 2018, 6:39:11 AM10/31/18
to xlr-...@googlegroups.com


> On 31 Oct 2018, at 04:18, Dmitry Ponyatov <dpon...@gmail.com> wrote:
>
> Maybe it is better to use clang as anyway we use LLVM to build a half?

I’ve successfully built with gcc on other Linuxen. I have finished installing the deb9 VM, but I’m a bit overloaded until at least Nov 7. So not sure I can find the time to check on this problem right now.

Dmitry Ponyatov

unread,
Oct 31, 2018, 6:43:40 AM10/31/18
to XL programming language and runtime
Don't worry. It's not a critical thing, maybe I'll add autotools support later myself.

Christophe de Dinechin

unread,
Oct 31, 2018, 6:49:44 AM10/31/18
to xlr-...@googlegroups.com


> On 31 Oct 2018, at 11:43, Dmitry Ponyatov <dpon...@gmail.com> wrote:
>
> Don't worry. It's not a critical thing, maybe I'll add autotools support later myself.

FYI, I’m a big hater of autotools, since they don’t work correctly on macOS (in case there is any error). Hence https://github.com/c3d/make-it-quick.
Reply all
Reply to author
Forward
0 new messages