When trying to compile debian packages (debuild -us -sa -uc) with Debian Stretch 32bit, I receive the following error(s):
gutlvers.cpp: Assembler messages: gutlvers.cpp:568: Error: junk `(%edi)+4' after expression gutlvers.cpp:569: Error: junk `(%edi)+8' after expression gutlvers.cpp:597: Error: junk `(%edi)+4' after expression gutlvers.cpp:598: Error: junk `(%edi)+8' after expression gutlvers.cpp:604: Error: junk `(%edi)+4' after expression gutlvers.cpp:605: Error: junk `(%edi)+8' after expression
Doing the same thing with the exact same sources on Debian Stretch 64bit works just fine. Same with Jessie 32bit: No Problem. Only with Stretch 32bit.
Both Stretch systems are virtual machines inside virtualbox. Both are up-to-date.
The lines stated in the error message are wrong (some are empty, some look completely unrelated to me, none are inline assembler..).
If I'ld have to make a guess, these are the lines in question:
"movl %%edx,%1+4\n\t" "movl %%ecx,%1+8\n\t"
...But I'm not at all sure, since I'm not very experienced with c++ and even less with assembler code, so I'm very much in need of your help.. ;)
Thanks in advance and thanks a lot for keeping this project alive!
Cheers,
Philipp
Sorry, forgot half of the info.. ;)
I'm trying to compile the 2017-03-03 source snapshot of v1.1.5.
The command producing this error message is:
g++ -c -MD -D__INCLUDE_NEW_KEYWORDS__ -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_STDARG_H -funsigned-char -g -I../../goldlib -I../../goldlib/gall -Wall -Wno-long-long -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gutlvers.o gutlvers.cpp
g++ version is:
6.3.0 20170516 (Debian 6.3.0-18)
It's configured with:
../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Target:
i686-linux-gnu