Package: g++-5-arm-linux-gnueabihf
Version: 5.2.1-16cross1
The compiler calls the linker (binutils-arm-linux-gnueabihf 2.25.1-2)
in a way that makes it fail:
arm-linux-gnueabihf-g++-5 test.cxx -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-g++-5
Package: libstdc++-4.8-dev
Version: 4.8.2-1
See upstream bug report for details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59548
There you'll find a bug fix patch. Please merge for the next Debian
revision, just in case upstream hasn't emitted a bug fix release yet.
--
To UNSUBSCRIBE,
This diff in Debian revision 4.8.2-8 appears to fix the issue:
--- /usr/include/c++/4.8/bits/stl_algo.h2013-10-17 17:27:51.0
+0200
+++ /srv/chroot/experimental/usr/include/c++/4.8/bits/stl_algo.h
2013-12-04 02:06:03.0 +0100
@@ -2279,7 +2279,7 @@
Package: libstdc++-4.8-dev
Version: 4.8.2-1
Severity: important
Demo exploit:
#include algorithm
int main(int argc, char **argv) {
static int data[] = {3,5,4,1,0,2};
std::nth_element(data + 0, data + 3, data + 6, std::lessint());
}
Crashes:
g++ -std=c++11 test.cxx ./a.out
Package: libffi5
Version: 3.0.10-3+b1
woodpecker:~# aptitude install libsamplerate0-dev:armhf
The following NEW packages will be installed:
libffi5:armhf{ab} libglib2.0-0:armhf{a} libpcre3:armhf{a} libpopt0:armhf{a}
libsamplerate0:armhf{a} libsamplerate0-dev:armhf
libselinux1:armhf{a}
Package: libgcj7-dbg
Version: 4.1.1-13
Severity: serious
None of the binaries below /usr/lib/debug/usr/bin is executable:
-rw-r--r-- root/root 8421 2006-09-08 16:03:23
./usr/lib/debug/usr/bin/gij-4.1
-rw-r--r-- root/root 71536 2006-09-08 16:03:23
./usr/lib/debug/usr/bin/gcj-dbtool-4.1
Package: java-gcj-compat
Version: 1.0.51-1
Tags: FTBFS
Severity: minor
gcj-4.0 -C -d . -I . sun/rmi/rmic/Main.java
make[1]: *** No rule to make target
`/usr/share/java/com-sun-javadoc-0.7.7.jar', needed by
`com/sun/tools/doclets/Taglet.class'. Stop.
make[1]: Leaving directory
strace output:
[pid 16630] open(/usr/share/java/libgcj-4.0.3.jar, O_RDONLY) = -1
ENOENT (No such file or directory)
gcj looks for 4.0.3, but there is only 4.0.2 (symlink missing?):
-rw-r--r-- 1 root root 9710666 Oct 2 07:25
/usr/share/java/libgcj-4.0.2.jar
lrwxrwxrwx 1 root root 16 Oct
8 matches
Mail list logo