Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danindiana opened this issue Mar 17, 2019 · 1 comment
Open

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

danindiana opened this issue Mar 17, 2019 · 1 comment

Comments

@danindiana
Copy link

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-2ubuntu118.10ppa1) 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-1ubuntu118.10ppa2) but it is not going to be installed
Depends: gcc-7-base (= 7.4.0-1ubuntu118.10ppa2) but 7.4.0-3ubuntu218.10ppa1 is to be installed
Depends: libgcc-7-dev (= 7.4.0-1ubuntu118.10ppa2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@bollu
Copy link
Owner

bollu commented May 6, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants