[linuxidc@linuxidc build]$ ../configure --prefix=/opt/glibc-2.14
[linuxidc@linuxidc build]$ make -j4
[linuxidc@linuxidc build]$ sudo make install
[sudo] password for ghui:
4.临时修改环境变量
[linuxidc@linuxidc bin]$ export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
[linuxidc@linuxidc glibc-2.14]$ cd /var/VMdisks/cross/mingw32/bin/
[linuxidc@linuxidc bin]$ ./qmake
Usage: ./qmake [mode] [options] [files]
QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
...
此时运行正常,问题解决。
GNU glibc 爆 gethostbyname 缓冲区溢出漏洞