Problem with Kernel 3.2.65

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Problem with Kernel 3.2.65

Postby atul.singh008 » Wed Dec 31, 2014 6:00 am

Hi,

I have a toolchain with GCC 4.9.1 which is configured with plugin support(--enable-plugin while configuration).
[atulk@localhost linux-3.2.65]$ arm-pokymllibv5te-linux-gnueabi-gcc -v
gcc-4.9.1/configure --build=x86_64-linux --host=i686-pokysdk-linux --target=arm-pokymllibv5te-linux-gnueabi --prefix=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr --exec_prefix=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr --bindir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi --sbindir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi --libexecdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/libexec/arm-pokymllibv5te-linux-gnueabi --datadir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share --sysconfdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/etc --sharedstatedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/com --localstatedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/var --libdir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/lib/arm-pokymllibv5te-linux-gnueabi --includedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/include --oldincludedir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/include --infodir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share/info --mandir=/usr/local/windriver/sysroots/i686-pokysdk-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/data/home/asingh/poky/build_gcc_plugin/tmp/sysroots/i686-nativesdk-pokysdk-linux --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-pokymllibv5te-linux-gnueabi- --without-local-prefix --enable-plugin --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-gxx-include-dir=/usr/local/windriver/sysroots/armv5te-pokymllibv5te-linux-gnueabi/usr/include/c++/4.9.1 --with-build-time-tools=/data/home/asingh/poky/build_gcc_plugin/tmp/sysroots/x86_64-linux/usr/arm-pokymllibv5te-linux-gnueabi/bin --with-sysroot=/usr/local/windriver/sysroots/armv5te-pokymllibv5te-linux-gnueabi --with-build-sysroot=/data/home/asingh/poky/build_gcc_plugin/tmp/sysroots/libv5te-arm-sdk --enable-poison-system-directories --with-mpfr=/data/home/asingh/poky/build_gcc_plugin/tmp/sysroots/i686-nativesdk-pokysdk-linux --with-mpc=/data/home/asingh/poky/build_gcc_plugin/tmp/sysroots/i686-nativesdk-pokysdk-linux --enable-nls

Also we have verified it using the below mentioned step:
[atulk@localhost linux-3.2.65]$ arm-pokymllibv5te-linux-gnueabi-gcc -print-file-name=plugin
/home/atulk/test/ARM_gcc_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin
[atulk@localhost linux-3.2.65]$ ll /home/atulk/test/ARM_gcc_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin
total 932
-rw-r--r--. 1 atulk atulk 948959 Jan 1 00:41 gtype.state
drwxr-xr-x. 8 atulk atulk 4096 Jan 1 00:41 include

And when we use the same toolchain to compile kernel 3.2.65 then we are getting error message as below:
Makefile:635: *** Your gcc installation does not support plugins. If the necessary headers for plugin support are missing, they should be installed. On Debian, apt-get install gcc-<ver>-plugin-dev. If you choose to ignore this error and lessen the improvements provided by this patch, re-run make with the DISABLE_PAX_PLUGINS=y argument.. Stop.

But when we have disable the PAX plugin using the below command:
make ARCH=arm CROSS_COMPILE=arm-pokymllibv5te-linux-gnueabi- DISABLE_PAX_PLUGINS=y

We are getting error message as:
arm-pokymllibv5te-linux-gnueabi-ld: unrecognized option '-Wl,-O1'
arm-pokymllibv5te-linux-gnueabi-ld: use the --help option for usage information
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Please let us know if i am missing something.

Regards,
Atul
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Wed Dec 31, 2014 10:06 am

what's your host g++ version? it has to be at least v4.7 as older g++ versions don't support the designated initializer extension at all (which the plugins use).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Thu Jan 01, 2015 1:55 am

The G++ version is:

gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC)

Also sorry as i missed to mention the about the gr security patch.
I used the patch(grsecurity-3.0-3.2.65-201412280855.patch) for the same.
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Thu Jan 01, 2015 9:59 am

can you run sh -x scripts/gcc-plugin.sh $hostg++ $hostg++ $crossgcc (with appropriate substitution for the compiler binaries) and show me the results? my guess is that there're missing compiler headers that you'll have to install by hand from the gcc source tree (you'll see them from the output of the trace).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Fri Jan 02, 2015 1:41 am

PaX Team wrote:can you run sh -x scripts/gcc-plugin.sh $hostg++ $hostg++ $crossgcc (with appropriate substitution for the compiler binaries) and show me the results? my guess is that there're missing compiler headers that you'll have to install by hand from the gcc source tree (you'll see them from the output of the trace).


Code: Select all
[atulk@localhost linux-3.2.65]$ sh -x scripts/gcc-plugin.sh g++ g++ arm-pokymllibv5te-linux-gnueabi-gcc
++ dirname scripts/gcc-plugin.sh
+ srctree=scripts
++ arm-pokymllibv5te-linux-gnueabi-gcc -print-file-name=plugin
+ gccplugins_dir=/home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin
++ g++ -E - -o /dev/null -Iscripts/../tools/gcc -I/home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include
+ plugincc='In file included from /home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include/gcc-plugin.h:28:0,
                 from /home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include/plugin.h:23,
                 from scripts/../tools/gcc/gcc-common.h:4,
                 from <stdin>:1:
/home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include/system.h:647:17: fatal error: gmp.h: No such file or directory
 #include <gmp.h>
                 ^
compilation terminated.'
+ '[' 1 -ne 0 ']'
+ exit 1
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Fri Jan 02, 2015 8:18 am

so as a first step install the gmp headers then repeat the process and fix whatever else is missing ;).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Wed Jan 07, 2015 4:16 am

PaX Team wrote:so as a first step install the gmp headers then repeat the process and fix whatever else is missing ;).


Thanks for your suggestion.

[atulk@localhost linux-3.2.64]$ sh -x scripts/gcc-plugin.sh g++ g++ $CC
++ dirname scripts/gcc-plugin.sh
+ srctree=scripts
++ arm-pokymllibv5te-linux-gnueabi-gcc -print-file-name=plugin
+ gccplugins_dir=/home/atulk/test/ARM_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin
++ g++ -E - -o /dev/null -Iscripts/../tools/gcc -I/home/atulk/test/ARM_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include
+ plugincc='<stdin>:3:2: warning: #warning g++ CXX [-Wcpp]'
+ '[' 0 -ne 0 ']'
+ case "$plugincc" in
++ g++ -c -x c++ -std=gnu++98 - -fsyntax-only -Iscripts/../tools/gcc -I/home/atulk/test/ARM_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/plugin/include
+ plugincc=
+ '[' 0 -eq 0 ']'
+ echo g++
g++
+ exit 0


Now i am getting error as:
Code: Select all
cc1: error: cannot load plugin /home/atulk/test/linux-3.2.64/tools/gcc/colorize_plugin.so
/home/atulk/test/linux-3.2.64/tools/gcc/colorize_plugin.so: undefined symbol: _ZN8opt_pass5cloneEv
cc1: error: cannot load plugin /home/atulk/test/linux-3.2.64/tools/gcc/structleak_plugin.so
/home/atulk/test/linux-3.2.64/tools/gcc/structleak_plugin.so: undefined symbol: _ZN8opt_pass5cloneEv
cc1: error: cannot load plugin /home/atulk/test/linux-3.2.64/tools/gcc/latent_entropy_plugin.so
/home/atulk/test/linux-3.2.64/tools/gcc/latent_entropy_plugin.so: undefined symbol: _Z24gt_ggc_mx_lang_tree_nodePv
cc1: error: cannot load plugin /home/atulk/test/linux-3.2.64/tools/gcc/randomize_layout_plugin.so
/home/atulk/test/linux-3.2.64/tools/gcc/randomize_layout_plugin.so: undefined symbol: _ZN8opt_pass5cloneEv
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2



And the same error i am getting for kernel 3.14.17.
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Wed Jan 07, 2015 8:29 am

try make V=1 and show me the exact compiler invocation for bounds.s please. it looks like that the wrong compiler is used there, hence the missing symbols.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Fri Jan 09, 2015 1:26 am

PaX Team wrote:try make V=1 and show me the exact compiler invocation for bounds.s please. it looks like that the wrong compiler is used there, hence the missing symbols.


Code: Select all
arm-pokymllibv5te-linux-gnueabi-gcc -Wp,-MD,kernel/.bounds.s.d  -nostdinc -isystem /home/atulk/test/ARM/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../lib/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/include -I/home/atulk/test/linux-3.2.64/arch/arm/include -Iarch/arm/include/generated -Iinclude  -include /home/atulk/test/linux-3.2.64/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-versatile/include -Iarch/arm/plat-versatile/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -marm -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm9tdmi -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -fplugin=/home/atulk/test/linux-3.2.64/tools/gcc/colorize_plugin.so -fplugin=/home/atulk/test/linux-3.2.64/tools/gcc/latent_entropy_plugin.so -DLATENT_ENTROPY_PLUGIN -fplugin=/home/atulk/test/linux-3.2.64/tools/gcc/structleak_plugin.so -DSTRUCTLEAK_PLUGIN -fplugin=/home/atulk/test/linux-3.2.64/tools/gcc/randomize_layout_plugin.so -DRANDSTRUCT_PLUGIN    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)"  -D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Mon Jan 12, 2015 6:38 pm

ok, try to copy that line into your shell and add a -v switch to it then execute it by hand. it will print out which cc1 binary is used exactly then you can run readelf on it to see what kind of symbols it has.

now stepping back a bit, i don't understand something. your arm-pokymllibv5te-linux-gnueabi-gcc said that it was configured to have the gcc files installed under /usr/local/windriver/... whereas the reported plugin dir is under /home/atulk/... . how are these two directories related to each other? also how do you exactly invoke make and/or set HOSTCC/HOSTCXX/CC? somehow i have a feeling that different gcc binaries are getting mixed up here...
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Wed Jan 14, 2015 8:12 am

PaX Team wrote:ok, try to copy that line into your shell and add a -v switch to it then execute it by hand. it will print out which cc1 binary is used exactly then you can run readelf on it to see what kind of symbols it has.

now stepping back a bit, i don't understand something. your arm-pokymllibv5te-linux-gnueabi-gcc said that it was configured to have the gcc files installed under /usr/local/windriver/... whereas the reported plugin dir is under /home/atulk/... . how are these two directories related to each other? also how do you exactly invoke make and/or set HOSTCC/HOSTCXX/CC? somehow i have a feeling that different gcc binaries are getting mixed up here...


The cc1 used in my case is at /home/atulk/test/ARM_plugin/sysroots/i686-pokysdk-linux/usr/bin/arm-pokymllibv5te-linux-gnueabi/../../libexec/arm-pokymllibv5te-linux-gnueabi/gcc/arm-pokymllibv5te-linux-gnueabi/4.9.1/cc1


With -v option,
GNU C (GCC) version 4.9.1 (arm-pokymllibv5te-linux-gnueabi)


Also if i check using readelf then in the machine type i am seeing
Intel 80386
.

And the /usr/local/windriver is a defualt location of toolchain which we automatically being taken care while running.

Code: Select all
 make ARCH=arm CROSS_COMPILE=arm-pokymllibv5te-linux-gnueabi-
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Wed Jan 14, 2015 8:36 am

can you run readelf -s on the cc1 binary and post the results somewhere?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Tue Jan 20, 2015 7:52 am

Hi,

I tried posting it using
pastebin.com
, but as it's very big log so i can't succedded out there.

The sample of the same is below:
Code: Select all
Symbol table '.dynsym' contains 257 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00000000     0 FUNC    GLOBAL DEFAULT  UND getpagesize@GLIBC_2.0 (2)
     2: 00000000     0 FUNC    GLOBAL DEFAULT  UND fputs@GLIBC_2.0 (2)
     3: 00000000     0 FUNC    GLOBAL DEFAULT  UND abort@GLIBC_2.0 (2)
     4: 00000000     0 FUNC    GLOBAL DEFAULT  UND __errno_location@GLIBC_2.0 (2)
     5: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_cmp
     6: 00000000     0 FUNC    GLOBAL DEFAULT  UND sprintf@GLIBC_2.0 (2)
     7: 00000000     0 FUNC    GLOBAL DEFAULT  UND _obstack_memory_used@GLIBC_2.0 (2)
     8: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpc_get_version
     9: 00000000     0 FUNC    GLOBAL DEFAULT  UND popen@GLIBC_2.1 (3)
    10: 00000000     0 FUNC    GLOBAL DEFAULT  UND open@GLIBC_2.0 (2)
    11: 00000000     0 FUNC    GLOBAL DEFAULT  UND zError
    12: 00000000     0 FUNC    GLOBAL DEFAULT  UND mmap@GLIBC_2.0 (2)
    13: 00000000     0 FUNC    GLOBAL DEFAULT  UND getpid@GLIBC_2.0 (2)
    14: 00000000     0 FUNC    GLOBAL DEFAULT  UND strerror@GLIBC_2.0 (2)
    15: 00000000     0 FUNC    GLOBAL DEFAULT  UND setbuf@GLIBC_2.0 (2)
    16: 00000000     0 FUNC    GLOBAL DEFAULT  UND __cxa_atexit@GLIBC_2.1.3 (4)
    17: 00000000     0 FUNC    GLOBAL DEFAULT  UND setrlimit64@GLIBC_2.1 (3)
    18: 00000000     0 FUNC    GLOBAL DEFAULT  UND sysconf@GLIBC_2.0 (2)
    19: 00000000     0 FUNC    GLOBAL DEFAULT  UND memcmp@GLIBC_2.0 (2)
    20: 00000000     0 FUNC    GLOBAL DEFAULT  UND qsort@GLIBC_2.0 (2)
    21: 00000000     0 FUNC    GLOBAL DEFAULT  UND inflateEnd
    22: 00000000     0 FUNC    GLOBAL DEFAULT  UND ngettext@GLIBC_2.2 (5)
    23: 00000000     0 FUNC    GLOBAL DEFAULT  UND open64@GLIBC_2.1 (3)
    24: 00000000     0 FUNC    GLOBAL DEFAULT  UND fputs_unlocked@GLIBC_2.1 (3)
    25: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_underflow_p
    26: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_set_ui
    27: 00000000     0 FUNC    GLOBAL DEFAULT  UND signal@GLIBC_2.0 (2)
    28: 00000000     0 FUNC    GLOBAL DEFAULT  UND __fsetlocking@GLIBC_2.2 (5)
    29: 00000000     0 FUNC    GLOBAL DEFAULT  UND syscall@GLIBC_2.0 (2)
    30: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
    31: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    32: 00000000     0 FUNC    GLOBAL DEFAULT  UND realloc@GLIBC_2.0 (2)
    33: 00000000     0 FUNC    GLOBAL DEFAULT  UND iconv_open@GLIBC_2.1 (3)
    34: 00000000     0 FUNC    GLOBAL DEFAULT  UND __xstat64@GLIBC_2.2 (5)
    35: 00000000     0 FUNC    GLOBAL DEFAULT  UND localtime@GLIBC_2.0 (2)
    36: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_clear
    37: 00000000     0 FUNC    GLOBAL DEFAULT  UND strchr@GLIBC_2.0 (2)
    38: 00000000     0 FUNC    GLOBAL DEFAULT  UND getenv@GLIBC_2.0 (2)
    39: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpc_init2
    40: 00000000     0 FUNC    GLOBAL DEFAULT  UND strncpy@GLIBC_2.0 (2)
    41: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_set_erangeflag
    42: 00000000     0 FUNC    GLOBAL DEFAULT  UND putchar@GLIBC_2.0 (2)
    43: 00000000     0 FUNC    GLOBAL DEFAULT  UND deflate
    44: 00000000     0 FUNC    GLOBAL DEFAULT  UND write@GLIBC_2.0 (2)
    45: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_lgamma
    46: 00000000     0 FUNC    GLOBAL DEFAULT  UND deflateInit_
    47: 00000000     0 FUNC    GLOBAL DEFAULT  UND dgettext@GLIBC_2.0 (2)
    48: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_sqrt_ui
    49: 00000000     0 FUNC    GLOBAL DEFAULT  UND __uflow@GLIBC_2.0 (2)
    50: 00000000     0 FUNC    GLOBAL DEFAULT  UND memset@GLIBC_2.0 (2)
    51: 00000000     0 FUNC    GLOBAL DEFAULT  UND fopen64@GLIBC_2.1 (3)
    52: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_start_main@GLIBC_2.0 (2)
    53: 00000000     0 FUNC    GLOBAL DEFAULT  UND stpcpy@GLIBC_2.0 (2)
    54: 00000000     0 FUNC    GLOBAL DEFAULT  UND _obstack_begin@GLIBC_2.0 (2)
    55: 00000000     0 FUNC    GLOBAL DEFAULT  UND strrchr@GLIBC_2.0 (2)
    56: 00000000     0 FUNC    GLOBAL DEFAULT  UND bindtextdomain@GLIBC_2.0 (2)
    57: 00000000     0 FUNC    GLOBAL DEFAULT  UND madvise@GLIBC_2.0 (2)
    58: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_add
    59: 00000000     0 NOTYPE  WEAK   DEFAULT  UND pthread_once
    60: 00000000     0 FUNC    GLOBAL DEFAULT  UND read@GLIBC_2.0 (2)
    61: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_clears
    62: 00000000     0 FUNC    GLOBAL DEFAULT  UND perror@GLIBC_2.0 (2)
    63: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTab
    64: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_set
    65: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_get_version
    66: 00000000     0 FUNC    GLOBAL DEFAULT  UND getrusage@GLIBC_2.0 (2)
    67: 00000000     0 FUNC    GLOBAL DEFAULT  UND gettext@GLIBC_2.0 (2)
    68: 00000000     0 FUNC    GLOBAL DEFAULT  UND ungetc@GLIBC_2.0 (2)
    69: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_sizeinbase
    70: 00000000     0 FUNC    GLOBAL DEFAULT  UND gettimeofday@GLIBC_2.0 (2)
    71: 00000000     0 FUNC    GLOBAL DEFAULT  UND inflate
    72: 00000000     0 FUNC    GLOBAL DEFAULT  UND strtol@GLIBC_2.0 (2)
    73: 00000000     0 FUNC    GLOBAL DEFAULT  UND fdopen@GLIBC_2.1 (3)
    74: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_set_str
    75: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_free_str
    76: 00000000     0 FUNC    GLOBAL DEFAULT  UND _obstack_newchunk@GLIBC_2.0 (2)
    77: 00000000     0 FUNC    GLOBAL DEFAULT  UND __overflow@GLIBC_2.0 (2)
    78: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_set_inf
    79: 00000000     0 FUNC    GLOBAL DEFAULT  UND access@GLIBC_2.0 (2)
    80: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMCloneTable
    81: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_sin_cos
    82: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_remquo
    83: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (6)
    84: 00000000     0 FUNC    GLOBAL DEFAULT  UND sbrk@GLIBC_2.0 (2)
    85: 00000000     0 FUNC    GLOBAL DEFAULT  UND deflateEnd
    86: 00000000     0 FUNC    GLOBAL DEFAULT  UND fflush@GLIBC_2.0 (2)
    87: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_inits2
    88: 00000000     0 FUNC    GLOBAL DEFAULT  UND opendir@GLIBC_2.0 (2)
    89: 00000000     0 FUNC    GLOBAL DEFAULT  UND ___tls_get_addr@GLIBC_2.3 (7)
    90: 00000000     0 FUNC    GLOBAL DEFAULT  UND fseek@GLIBC_2.0 (2)
    91: 00000000     0 FUNC    WEAK   DEFAULT  UND pthread_mutex_unlock@GLIBC_2.0 (2)
    92: 00000000     0 FUNC    GLOBAL DEFAULT  UND isatty@GLIBC_2.0 (2)
    93: 00000000     0 FUNC    GLOBAL DEFAULT  UND realpath@GLIBC_2.3 (8)
    94: 00000000     0 FUNC    GLOBAL DEFAULT  UND __gmpz_fdiv_q
    95: 00000000     0 FUNC    GLOBAL DEFAULT  UND strsignal@GLIBC_2.0 (2)
    96: 00000000     0 FUNC    GLOBAL DEFAULT  UND mpfr_get_str
    97: 00000000     0 FUNC    GLOBAL DEFAULT  UND fclose@GLIBC_2.1 (3)
    98: 00000000     0 FUNC    GLOBAL DEFAULT  UND fileno_unlocked@GLIBC_2.0 (2)
    99: 00000000     0 FUNC    GLOBAL DEFAULT  UND mbstowcs@GLIBC_2.0 (2)
   100: 00000000     0 FUNC    GLOBAL DEFAULT  UND fread_unlocked@GLIBC_2.1 (3)
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Re: Problem with Kernel 3.2.65

Postby PaX Team » Tue Jan 20, 2015 8:39 am

you can also just email me directly ;). what i'd like to see is all the defined symbols basically, whether they're actually c++ mangled names and if so, why those symbols are missing as it's pretty much not possible to compile gcc without them... so i'd like to see what's up with your binaries.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with Kernel 3.2.65

Postby atul.singh008 » Wed Jan 21, 2015 8:53 am

PaX Team wrote:you can also just email me directly ;). what i'd like to see is all the defined symbols basically, whether they're actually c++ mangled names and if so, why those symbols are missing as it's pretty much not possible to compile gcc without them... so i'd like to see what's up with your binaries.



Could you please provide me your email-id as i tried sending you through private message but can't do so because it's exceeding character limit.

Regards,
Atul
atul.singh008
 
Posts: 12
Joined: Wed Dec 31, 2014 5:48 am

Next

Return to grsecurity support