From 4daa751ff337f49b4c62eff53b47cf767fd589c7 Mon Sep 17 00:00:00 2001 From: MestreLion Date: Sat, 4 Jul 2020 22:40:21 -0300 Subject: [PATCH] add notes on 32-bit building --- README | 8 ++++++++ TODO | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/README b/README index 3235199..6561102 100644 --- a/README +++ b/README @@ -69,6 +69,14 @@ $ make && sudo make install # by default installs to /usr/local/bin/wavegain or $ make && sudo make install prefix=/usr # to install to /usr/bin/wavegain +Currently, 64-bit binaries build fine but can generate corrupted audio on output +files, so to prevent this by default it builts a 32-bit executable instead, +which runs and works fine on 64-bit architectures. However, multi-arch libraries +and headers might be needed as a pre-requiste for compiling. On Debian/Ubuntu this +can be installed by: + + sudo apt install gcc-multilib + Pre-compiled binaries and old versions ------------------------------------------------------------------------------- diff --git a/TODO b/TODO index 0261494..70d4a08 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,8 @@ +- Investigate why 64-bit executable corrupt some test files by chopping audio and + changing its pitch. Original windows binary was 32 bits, and to prevent this bug + so is this build, forcedly by using GCC's -m32 flag. Proof-reading is required to + see what triggers the bug in 64-bits binaries and, to hopefully allow for a non-buggy + native AMD64 build in the future. - Consider generating a 32-bit binary instead of 64 using GCC's `-m32` flag. Original binary was 32 bits, the convertion to 64 never had any proof-reading, and this might be the root cause of several bugs.