On 07.03.2018 13:13, James Cowgill wrote: > 3dldf FTBFS on the above architectures with the error: >> ../src/3dldf tngnts_1.ldf >> GNU 3DLDF Version 2.0.3 >> Copyright (C) 2013 The Free Software Foundation >> Author: Laurence D. Finston >>
Just for the records: I tried to build the package using gcc-8. The
program can be compiled but using it is still a pain as the program
still crashes:
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `./3dldf sample2.ldf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb7adeb35 in std::locale::~locale() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0xb7adeb35 in std::locale::~locale() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#1 0x004c78ef in std::basic_streambuf<char, std::char_traits<char>
>::~basic_streambuf (this=0x2257cc4, __in_chrg=<optimized out>)
at /usr/include/c++/8/streambuf:204
#2 std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf
(this=0x2257cc4, __in_chrg=<optimized out>) at
/usr/include/c++/8/fstream:247
#3 std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream
(this=0x2257cc0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
at /usr/include/c++/8/fstream:793
#4 Thread_Info_Type::~Thread_Info_Type (this=<optimized out>,
__in_chrg=<optimized out>) at ./pspglb.web:1626
#5 0x0052f614 in yyparse(void*) () at parser.y++:22016
#6 0x00517499 in main () at /usr/include/c++/8/bits/stl_vector.h:930
#7 0xb7756e81 in __libc_start_main (main=0x516500 <main>, argc=2,
argv=0xbfed44a4, init=0x7c7a30 <__libc_csu_init>,
fini=0x7c7a90 <__libc_csu_fini>, rtld_fini=0xb7ef29a0 <_dl_fini>,
stack_end=0xbfed449c) at ../csu/libc-start.c:310
#8 0x005197f9 in _start () at ./main.web:1735
For using gcc-8 I simply changed the symlinks gcc, g++, cpp to version
8. Not sure if this is sufficient. Yes, I could install gcc from
experimental too.
sid:/usr/bin# ls -l gcc* g++* cpp*
lrwxrwxrwx 1 root root 5 May 4 09:53 cpp -> cpp-8
lrwxrwxrwx 1 root root 20 Apr 28 15:20 cpp-7 -> i686-linux-gnu-cpp-7
lrwxrwxrwx 1 root root 20 May 2 11:43 cpp-8 -> i686-linux-gnu-cpp-8
lrwxrwxrwx 1 root root 5 May 4 09:53 g++ -> g++-8
lrwxrwxrwx 1 root root 20 Apr 28 15:20 g++-7 -> i686-linux-gnu-g++-7
lrwxrwxrwx 1 root root 20 May 2 11:43 g++-8 -> i686-linux-gnu-g++-8
lrwxrwxrwx 1 root root 5 May 4 09:53 gcc -> gcc-8
lrwxrwxrwx 1 root root 20 Apr 28 15:20 gcc-7 -> i686-linux-gnu-gcc-7
lrwxrwxrwx 1 root root 20 May 2 11:43 gcc-8 -> i686-linux-gnu-gcc-8
lrwxrwxrwx 1 root root 8 Apr 4 12:16 gcc-ar -> gcc-ar-7
Hilmar
--
#206401 http://counter.li.org
signature.asc
Description: OpenPGP digital signature

