Cosima Neidahl
Cosima Neidahl
Tried building FamiPlayer with `CONFIG+=debug` instead, that one also crashes with a SIGABRT for me. ``` EnableHtmlHelp SUPPORT_TRANSLATIONS Figure out 64-bit version of these asserts... QObject::connect: No such slot MainWindow::documentSaved()...
I tested the new commit, same errors and backtraces as before.
FWIW compiling & running on Ubuntu 18.04 (over the network) launches just fine.  I put a breakpoint in `CMainFrame::CreateToolbars (this=0x786990) at Source/MainFrm.cpp:445` on my local build...
I had a hunch and tested various versions of GCC. GCC 6 and GCC 7 produce binaries that launch fine, GCC 8 and higher seem to cause these launch failures....
Tested with patch applied to 1.09.0, `SOURCE_DATE_EPOCH` values of - `315532800` - `0` - none (`unset SOURCE_DATE_EPOCH`) , compiling bootstrap -> patched -> patched and checking `fbc --version` output -...
Adding `fbcAddLibPathFor( "libstdc++.so" )` works, [I'm using it as a workaround right now](https://github.com/OPNA2608/nixpkgs/commit/d93482cb0641b73e1b1b0b9c32e586fe142eac4d#diff-2c67298ef9b3395b9c6fd201352959cd0d261240aa1f9a4a42415818f5f4d23dR43-R44) and all tests pass with that.
I'm not aware of a define specific to us, I can give you some envvars dumps from our build & interactive environments that might help for detecting us though. [nix-build-env.log](https://github.com/freebasic/fbc/files/9333292/nix-build-env.log)...
`SOURCE_DATE_EPOCH` is handled externally by the build / package environment setup yep. https://github.com/NixOS/nixpkgs/blob/350fd0044447ae8712392c6b212a18bdf2433e71/pkgs/stdenv/generic/setup.sh#L258-L264 https://github.com/NixOS/nixpkgs/blob/350fd0044447ae8712392c6b212a18bdf2433e71/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh ``` bt1cn@NixTop:~ ↪ nix-shell -p stdenv [nix-shell:~]$ echo $SOURCE_DATE_EPOCH 315532800 [nix-shell:~]$ LANG=en_GB.UTF-8 date -ud @$SOURCE_DATE_EPOCH Tue...
Tried this today on a PowerMac G5 (ppc64, big-endian) running Linux, with both the native tools and a Nix stdenv. 1. Ran `make bootstrap` from 1.09.0 on linux-x86_64. 2. Ran...
### Compilation error: `dereferencing type-punned pointer will break strict-aliasing rule [-Werror=strict-aliasing]` ``` [ 36%] Building CXX object CMakeFiles/furnace.dir/src/engine/safeReader.cpp.o /home/puna/devel/furnace/src/engine/safeReader.cpp: In member function 'float SafeReader::readF()': /home/puna/devel/furnace/src/engine/safeReader.cpp:139:12: error: dereferencing type-punned pointer will...