You are not logged in.

#1 2017-11-23 10:03:57

quellen
Member
Registered: 2017-11-23
Posts: 11

fs-uae: building error

hi,
i'm trying to compile fs-uae from AUR but it doesn't work:

./src/dosbox/setup.h:93:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  Value& operator= (char const * const in) throw(WrongType) { return copy(Value(in));}
                                           ^~~~~
./src/dosbox/setup.h:94:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  Value& operator= (Value const& in) throw(WrongType)       { return copy(Value(in));}
                                     ^~~~~
./src/dosbox/setup.h:97:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  operator bool () const throw(WrongType);
                         ^~~~~
./src/dosbox/setup.h:98:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  operator Hex () const throw(WrongType);
                        ^~~~~
./src/dosbox/setup.h:99:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  operator int () const throw(WrongType);
                        ^~~~~
./src/dosbox/setup.h:100:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  operator double () const throw(WrongType);
                           ^~~~~
./src/dosbox/setup.h:101:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  operator char const* () const throw(WrongType);
                                ^~~~~
./src/dosbox/setup.h:102:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void SetValue(std::string const& in,Etype _type = V_CURRENT) throw(WrongType);
                                                               ^~~~~
./src/dosbox/setup.h:107:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  Value& copy(Value const& in) throw(WrongType);
                               ^~~~~
{standard input}: Assembler messages:
{standard input}:1635: Warning: end of file not at end of a line; newline inserted
{standard input}:2038: Error: missing or invalid immediate expression `'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
make[2]: *** [Makefile:4269: src/dosbox/core_simple.o] Error 4
make[2]: Leaving directory '/tmp/fs-uae/src/fs-uae-2.8.3'
make[1]: *** [Makefile:4312: all-recursive] Error 1
make[1]: Leaving directory '/tmp/fs-uae/src/fs-uae-2.8.3'
make: *** [Makefile:2383: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by quellen (2017-11-23 10:05:37)

Offline

#2 2017-11-23 10:35:44

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

This sounds to me like an out of memory or tmpfs, /tmp disk space problem.
The warnings are not the problem, the assembly output seems to be cut in the middle..

Offline

#3 2017-11-23 10:37:30

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

This said, I'm currently trying to build it in my test environment...

Offline

#4 2017-11-23 10:37:44

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

Yep. No problem. Can build the package..

Offline

#5 2017-11-23 10:38:30

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "fs-uae"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: fs-uae 2.8.3-1 (Thu Nov 23 10:37:54 CET 2017)

Offline

#6 2017-11-23 10:42:23

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

Offline

#7 2017-11-23 10:57:51

quellen
Member
Registered: 2017-11-23
Posts: 11

Re: fs-uae: building error

thanks andreas_baumann!
anyway isn't a /tmp disk space problem, it have 500MB free

Offline

#8 2017-11-23 11:23:51

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

If it's no disk space problem it could indicate we have a problem in the compiler toolchain, which would be a severe issue.
That's why I'm very interested in this kind of reports.

With modern C++ you can easily run out of memory on a 32-bit machine, 4GB may not be enough.. :-)

Offline

#9 2017-11-23 11:46:44

quellen
Member
Registered: 2017-11-23
Posts: 11

Re: fs-uae: building error

maybe my RAM is broken? i have 1GB of RAM but "free" says used: 267M, free: 175M... why?

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           1,0G        267M        175M        9,1M        560M        612M
Swap:          999M          0B        999M

Last edited by quellen (2017-11-23 11:46:58)

Offline

#10 2017-11-23 13:02:46

tyzoid
Administrator
From: Ann Arbor, MI
Registered: 2017-06-17
Posts: 86

Re: fs-uae: building error

Your ram is fine. Look at the 'available' column.
https://www.linuxatemyram.com/

Offline

#11 2017-11-23 13:19:00

quellen
Member
Registered: 2017-11-23
Posts: 11

Re: fs-uae: building error

i'm not sure:
ram.jpg
:-|

Offline

#12 2017-11-23 13:22:17

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

Uh. Try reseating the RAM. Try cleaning the contacts. If this doesn't help, it is a classic "dying memory chip problem". :-(

Compilers use all possible available RAM (especially in complex programs), so they
hit memory issues much sooner than normal operation would.

Offline

#13 2017-11-23 13:23:12

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: fs-uae: building error

If it is just a part of the RAM consistently producing errors, you could also try to blacklist certain addresses (or at least you could
in old Linux kernel options).

Offline

Board footer

Powered by FluxBB