cellularAutomata icon indicating copy to clipboard operation
cellularAutomata copied to clipboard

>>> Syntax error! The symbol `_Float128' does not fit here.

Open danindiana opened this issue 5 years ago • 1 comments

This is what I get when I try to run the build-and-profile.sh

./build-and-profile.sh --with-gcc /usr/bin/gcc-8 memoize-0.8.1: unregistering (flags changed from [] to ["--enable-library-profiling"]) vector-strategies-0.4: unregistering (flags changed from [] to ["--enable-library-profiling"]) glib-0.13.4.1: configure glib-0.13.4.1: build cairo-0.13.3.1: configure cairo-0.13.3.1: build
memoize-0.8.1: configure
memoize-0.8.1: build
vector-strategies-0.4: configure
vector-strategies-0.4: build
linear-1.20.5: configure
vector-strategies-0.4: copy/register
memoize-0.8.1: copy/register
linear-1.20.5: build
Rasterific-0.7.2.1: configure
Rasterific-0.7.2.1: build
cairo-0.13.3.1: copy/register
Rasterific-0.7.2.1: copy/register
linear-1.20.5: copy/register
Progress 6/17

-- While building package glib-0.13.4.1 using: /tmp/stack27253/glib-0.13.4.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /home/johnh/gits/cellularAutomata/.stack-work/logs/glib-0.13.4.1.log

[1 of 2] Compiling Main             ( /tmp/stack27253/glib-0.13.4.1/Setup.hs, /tmp/stack27253/glib-0.13.4.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/Main.o )
[2 of 2] Compiling StackSetupShim   ( /home/johnh/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack27253/glib-0.13.4.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/StackSetupShim.o )
Linking /tmp/stack27253/glib-0.13.4.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/setup ...
Configuring glib-0.13.4.1...
Building glib-0.13.4.1...
Preprocessing library glib-0.13.4.1...
setup: Error in C header file.

/usr/include/x86_64-linux-gnu/bits/floatn.h:87: (column 19) [FATAL] 
  >>> Syntax error!
  The symbol `_Float128' does not fit here.

OS: Ubuntu 18.10 cosmic
Kernel: x86_64 Linux 4.18.0-16-generic Uptime: 6h 52m Packages: 2555 Shell: bash 4.4.19 Resolution: 1920x1200 DE: LXDE WM: OpenBox CPU: Intel Xeon W-2125 @ 8x 4.5GHz [45.0°C] GPU: Quadro P4000 RAM: 4976MiB / 31821MiB

gcc-8 --version gcc-8 (Ubuntu 8.3.0-2ubuntu1~18.10~ppa1) 8.3.0 Copyright (C) 2018 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.

sudo apt install gcc-7 [sudo] password for johnh: Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: gcc-7 : Depends: cpp-7 (= 7.4.0-1ubuntu1~18.10~ppa2) but it is not going to be installed Depends: gcc-7-base (= 7.4.0-1ubuntu1~18.10~ppa2) but 7.4.0-3ubuntu2~18.10~ppa1 is to be installed Depends: libgcc-7-dev (= 7.4.0-1ubuntu1~18.10~ppa2) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

danindiana avatar Mar 17 '19 08:03 danindiana

Can you try ./build-and-run-2d.sh?

bollu avatar May 06 '19 08:05 bollu