Gentoo Archives: gentoo-hardened

From: Nicolas MASSE <nicolas27.masse@×××××××.net>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] stack smashing attack while compiling qt on amd64
Date: Sun, 11 Dec 2005 16:12:46
Message-Id: 200512111710.00057.nicolas27.masse@laposte.net
1 Hello,
2
3 I tried to compile qt-4.0.1 on my amd64 box and the build failed with :
4
5 for /tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/examples/linguist/arrowpad/arrowpad.pro
6 (linux-g++-64)
7 /tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/bin/qmake
8 -spec /tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/mkspecs/linux-g++-64
9 -o /tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/./examples/linguist/arrowpad /tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/examples/linguist/arrowpad/arrowpad.pro
10 qmake: stack smashing attack in function virtual bool
11 UnixMakefileGenerator::findLibraries()()
12 ./configure: line 3901: 1293 Aborted QTDIR="$outpath"
13 $QMAKE_EXEC
14
15 NOTE: This platform does not support runtime library paths, using
16 -no-rpath.
17
18 Qt is now configured for building. Just run 'gmake'.
19 Once everything is built, you must run 'gmake install'.
20 Qt will be installed into /usr/lib64/qt4
21
22 To reconfigure, run 'gmake confclean' and 'configure'.
23
24 make: *** No rule to make target `sub-tools-all-ordered'. Stop.
25
26 !!! ERROR: x11-libs/qt-4.0.1 failed.
27 !!! Function src_compile, Line 144, Exitcode 2
28 !!! (no error message)
29 !!! If you need support, post the topmost build error, NOT this status
30 message.
31
32 Does anyone experienced this ? Do you think this is amd64 specific ?
33
34 My make.profile : ../var/portage/profiles/hardened/amd64
35 My kernel : 2.6.13-hardened-r2
36
37 Best regards.
38
39 Nicolas MASSE
40 --
41 gentoo-hardened@g.o mailing list

Replies