From the build/config.log file: ------------------------------------------------------------------------------------------------------------------------------------------------------------ # project configured on Tue Jan 5 13:12:10 2016 by # waf 1.8.12 (abi 98, python 20706f0 on linux2) # using /home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/waf configure --prefix=/usr # ---------------------------------------- Setting top to /home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git ---------------------------------------- Setting out to /home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/build ---------------------------------------- Checking for 'gcc' (C compiler) find program='x86_64-openswitch-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64' paths=['/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-openswitch-linux', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64/usr/bin/crossscripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/bin', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/bitbake/bin', '/home/srinsriv/Desktop/openswitch/ops1/tools/bin', '/usr/local/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['x86_64-openswitch-linux-gcc', '-m64', '-march=core2', '-mtune=core2', '-msse3', '-mfpmath=sse', '--sysroot=/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64'] find program='x86_64-openswitch-linux-ar' paths=['/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-openswitch-linux', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64/usr/bin/crossscripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/bin', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/bitbake/bin', '/home/srinsriv/Desktop/openswitch/ops1/tools/bin', '/usr/local/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='AR' -> ['x86_64-openswitch-linux-ar'] x86_64-openswitch-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64 ---------------------------------------- Checking for program 'bison' /home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin/bison find program=['bison'] paths=['/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-openswitch-linux', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64/usr/bin/crossscripts', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/sbin', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/bin', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/scripts', '/home/srinsriv/Desktop/openswitch/ops1/yocto/poky/bitbake/bin', '/home/srinsriv/Desktop/openswitch/ops1/tools/bin', '/usr/local/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='BISON' -> ['/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/x86_64-linux/usr/bin/bison'] ---------------------------------------- Checking compiler ==> #include int main(void) { #ifdef __clang__ printf("1"); #elif __INTEL_COMPILER printf("2"); #elif __GNUC__ printf("3"); #else printf("255"); #endif return 0; } <== [1/3] Compiling build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/test.c ['x86_64-openswitch-linux-gcc', '-m64', '-march=core2', '-mtune=core2', '-msse3', '-mfpmath=sse', '--sysroot=/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64', '-O2', '-pipe', '-g', '-feliminate-unused-debug-types', '-DNTPS_VERSION_MAJOR=0', '-DNTPS_VERSION_MINOR=0', '-DNTPS_VERSION_REV=0', '../test.c', '-c', '-o', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild/test.c.1.o'] [2/3] Linking build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild/testprog ['x86_64-openswitch-linux-gcc', '-m64', '-march=core2', '-mtune=core2', '-msse3', '-mfpmath=sse', '--sysroot=/home/srinsriv/Desktop/openswitch/ops1/build/tmp/sysroots/genericx86-64', 'test.c.1.o', '-o', '/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-O1', '-Wl,--hash-style=gnu', '-Wl,--as-needed'] [3/3] Processing build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild/testprog ['/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild/testprog'] from /home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git: Test does not build: Traceback (most recent call last): File "/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Configure.py", line 339, in run_build bld.compile() File "/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 182, in compile raise Errors.BuildError(self.producer.error) BuildError: Build failed Traceback (most recent call last): File "/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Task.py", line 110, in process ret=self.run() File "/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Tools/c_config.py", line 442, in run self.generator.bld.retval=self.generator.bld.cmd_and_log([self.inputs[0].abspath()],env=env) File "/home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 201, in cmd_and_log raise Errors.WafError('Execution failure: %s'%str(e),ex=e) WafError: Execution failure: [Errno 2] No such file or directory no from /home/srinsriv/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git: The configuration failed From the testbuild directory ------------------------------------------------------------------------------------------------------------------------------------------------------------ In ~/Desktop/openswitch/ops1/build/tmp/work/core2-64-openswitch-linux/ntpsec/1.0-r0/git/build/.conf_check_e802fc1f42c52b2b3a17797ebf1015a9/testbuild $ ls -lrt total 24 -rw-r--r-- 1 srinsriv srinsriv 6272 Jan 5 13:12 test.c.1.o -rwxr-xr-x 1 srinsriv srinsriv 13032 Jan 5 13:12 testprog $ ldd testprog linux-vdso.so.1 => (0x00007fff1bd7d000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7df4098000) /lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000055ccbb80d000) $ readelf -a ./testprog ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x400430 Start of program headers: 64 (bytes into file) Start of section headers: 10664 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 8 Size of section headers: 64 (bytes) Number of section headers: 37 Section header string table index: 34 Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .interp PROGBITS 0000000000400200 00000200 000000000000001a 0000000000000000 A 0 0 1 [ 2] .note.ABI-tag NOTE 000000000040021c 0000021c 0000000000000020 0000000000000000 A 0 0 4 [ 3] .note.gnu.build-i NOTE 000000000040023c 0000023c 0000000000000024 0000000000000000 A 0 0 4 [ 4] .gnu.hash GNU_HASH 0000000000400260 00000260 000000000000001c 0000000000000000 A 5 0 8 [ 5] .dynsym DYNSYM 0000000000400280 00000280 0000000000000060 0000000000000018 A 6 1 8 [ 6] .dynstr STRTAB 00000000004002e0 000002e0 0000000000000040 0000000000000000 A 0 0 1 [ 7] .gnu.version VERSYM 0000000000400320 00000320 0000000000000008 0000000000000002 A 5 0 2 [ 8] .gnu.version_r VERNEED 0000000000400328 00000328 0000000000000020 0000000000000000 A 6 1 8 [ 9] .rela.dyn RELA 0000000000400348 00000348 0000000000000018 0000000000000018 A 5 0 8 [10] .rela.plt RELA 0000000000400360 00000360 0000000000000048 0000000000000018 AI 5 12 8 [11] .init PROGBITS 00000000004003a8 000003a8 0000000000000024 0000000000000000 AX 0 0 4 [12] .plt PROGBITS 00000000004003d0 000003d0 0000000000000040 0000000000000010 AX 0 0 16 [13] .text PROGBITS 0000000000400410 00000410 00000000000001c1 0000000000000000 AX 0 0 16 [14] .fini PROGBITS 00000000004005d4 000005d4 000000000000000e 0000000000000000 AX 0 0 4 [15] .rodata PROGBITS 00000000004005e4 000005e4 0000000000000004 0000000000000004 AM 0 0 4 [16] .eh_frame_hdr PROGBITS 00000000004005e8 000005e8 0000000000000034 0000000000000000 A 0 0 4 [17] .eh_frame PROGBITS 0000000000400620 00000620 00000000000000ec 0000000000000000 A 0 0 8 [18] .ctors PROGBITS 0000000000600710 00000710 0000000000000010 0000000000000000 WA 0 0 8 [19] .dtors PROGBITS 0000000000600720 00000720 0000000000000010 0000000000000000 WA 0 0 8 [20] .jcr PROGBITS 0000000000600730 00000730 0000000000000008 0000000000000000 WA 0 0 8 [21] .dynamic DYNAMIC 0000000000600738 00000738 0000000000000190 0000000000000010 WA 6 0 8 [22] .got PROGBITS 00000000006008c8 000008c8 0000000000000008 0000000000000008 WA 0 0 8 [23] .got.plt PROGBITS 00000000006008d0 000008d0 0000000000000030 0000000000000008 WA 0 0 8 [24] .data PROGBITS 0000000000600900 00000900 0000000000000010 0000000000000000 WA 0 0 8 [25] .bss NOBITS 0000000000600910 00000910 0000000000000010 0000000000000000 WA 0 0 8 [26] .comment PROGBITS 0000000000000000 00000910 0000000000000011 0000000000000001 MS 0 0 1 [27] .debug_aranges PROGBITS 0000000000000000 00000930 0000000000000130 0000000000000000 0 0 16 [28] .debug_info PROGBITS 0000000000000000 00000a60 0000000000000692 0000000000000000 0 0 1 [29] .debug_abbrev PROGBITS 0000000000000000 000010f2 0000000000000274 0000000000000000 0 0 1 [30] .debug_line PROGBITS 0000000000000000 00001366 000000000000040f 0000000000000000 0 0 1 [31] .debug_str PROGBITS 0000000000000000 00001775 000000000000050f 0000000000000001 MS 0 0 1 [32] .debug_loc PROGBITS 0000000000000000 00001c84 000000000000011b 0000000000000000 0 0 1 [33] .debug_ranges PROGBITS 0000000000000000 00001da0 0000000000000100 0000000000000000 0 0 16 [34] .shstrtab STRTAB 0000000000000000 00001ea0 0000000000000157 0000000000000000 0 0 1 [35] .symtab SYMTAB 0000000000000000 00001ff8 0000000000000750 0000000000000018 36 57 8 [36] .strtab STRTAB 0000000000000000 00002748 000000000000025f 0000000000000000 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), l (large) I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) There are no section groups in this file. Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040 0x00000000000001c0 0x00000000000001c0 R E 8 INTERP 0x0000000000000200 0x0000000000400200 0x0000000000400200 0x000000000000001a 0x000000000000001a R 1 [Requesting program interpreter: /lib/ld-linux-x86-64.so.2] LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 0x000000000000070c 0x000000000000070c R E 200000 LOAD 0x0000000000000710 0x0000000000600710 0x0000000000600710 0x0000000000000200 0x0000000000000210 RW 200000 DYNAMIC 0x0000000000000738 0x0000000000600738 0x0000000000600738 0x0000000000000190 0x0000000000000190 RW 8 NOTE 0x000000000000021c 0x000000000040021c 0x000000000040021c 0x0000000000000044 0x0000000000000044 R 4 GNU_EH_FRAME 0x00000000000005e8 0x00000000004005e8 0x00000000004005e8 0x0000000000000034 0x0000000000000034 R 4 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 10 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 Dynamic section at offset 0x738 contains 20 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000c (INIT) 0x4003a8 0x000000000000000d (FINI) 0x4005d4 0x000000006ffffef5 (GNU_HASH) 0x400260 0x0000000000000005 (STRTAB) 0x4002e0 0x0000000000000006 (SYMTAB) 0x400280 0x000000000000000a (STRSZ) 64 (bytes) 0x000000000000000b (SYMENT) 24 (bytes) 0x0000000000000015 (DEBUG) 0x0 0x0000000000000003 (PLTGOT) 0x6008d0 0x0000000000000002 (PLTRELSZ) 72 (bytes) 0x0000000000000014 (PLTREL) RELA 0x0000000000000017 (JMPREL) 0x400360 0x0000000000000007 (RELA) 0x400348 0x0000000000000008 (RELASZ) 24 (bytes) 0x0000000000000009 (RELAENT) 24 (bytes) 0x000000006ffffffe (VERNEED) 0x400328 0x000000006fffffff (VERNEEDNUM) 1 0x000000006ffffff0 (VERSYM) 0x400320 0x0000000000000000 (NULL) 0x0 Relocation section '.rela.dyn' at offset 0x348 contains 1 entries: Offset Info Type Sym. Value Sym. Name + Addend 0000006008c8 000300000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ + 0 Relocation section '.rela.plt' at offset 0x360 contains 3 entries: Offset Info Type Sym. Value Sym. Name + Addend 0000006008e8 000100000007 R_X86_64_JUMP_SLO 0000000000000000 putchar + 0 0000006008f0 000200000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main + 0 0000006008f8 000300000007 R_X86_64_JUMP_SLO 0000000000000000 __gmon_start__ + 0 The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported. Symbol table '.dynsym' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND putchar@GLIBC_2.2.5 (2) 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2) 3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ Symbol table '.symtab' contains 78 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000400200 0 SECTION LOCAL DEFAULT 1 2: 000000000040021c 0 SECTION LOCAL DEFAULT 2 3: 000000000040023c 0 SECTION LOCAL DEFAULT 3 4: 0000000000400260 0 SECTION LOCAL DEFAULT 4 5: 0000000000400280 0 SECTION LOCAL DEFAULT 5 6: 00000000004002e0 0 SECTION LOCAL DEFAULT 6 7: 0000000000400320 0 SECTION LOCAL DEFAULT 7 8: 0000000000400328 0 SECTION LOCAL DEFAULT 8 9: 0000000000400348 0 SECTION LOCAL DEFAULT 9 10: 0000000000400360 0 SECTION LOCAL DEFAULT 10 11: 00000000004003a8 0 SECTION LOCAL DEFAULT 11 12: 00000000004003d0 0 SECTION LOCAL DEFAULT 12 13: 0000000000400410 0 SECTION LOCAL DEFAULT 13 14: 00000000004005d4 0 SECTION LOCAL DEFAULT 14 15: 00000000004005e4 0 SECTION LOCAL DEFAULT 15 16: 00000000004005e8 0 SECTION LOCAL DEFAULT 16 17: 0000000000400620 0 SECTION LOCAL DEFAULT 17 18: 0000000000600710 0 SECTION LOCAL DEFAULT 18 19: 0000000000600720 0 SECTION LOCAL DEFAULT 19 20: 0000000000600730 0 SECTION LOCAL DEFAULT 20 21: 0000000000600738 0 SECTION LOCAL DEFAULT 21 22: 00000000006008c8 0 SECTION LOCAL DEFAULT 22 23: 00000000006008d0 0 SECTION LOCAL DEFAULT 23 24: 0000000000600900 0 SECTION LOCAL DEFAULT 24 25: 0000000000600910 0 SECTION LOCAL DEFAULT 25 26: 0000000000000000 0 SECTION LOCAL DEFAULT 26 27: 0000000000000000 0 SECTION LOCAL DEFAULT 27 28: 0000000000000000 0 SECTION LOCAL DEFAULT 28 29: 0000000000000000 0 SECTION LOCAL DEFAULT 29 30: 0000000000000000 0 SECTION LOCAL DEFAULT 30 31: 0000000000000000 0 SECTION LOCAL DEFAULT 31 32: 0000000000000000 0 SECTION LOCAL DEFAULT 32 33: 0000000000000000 0 SECTION LOCAL DEFAULT 33 34: 0000000000000000 0 FILE LOCAL DEFAULT ABS init.c 35: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 36: 0000000000600710 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 37: 0000000000600720 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 38: 0000000000600730 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 39: 000000000040045a 0 FUNC LOCAL DEFAULT 13 deregister_tm_clones 40: 0000000000400483 0 FUNC LOCAL DEFAULT 13 register_tm_clones 41: 00000000004004c0 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 42: 0000000000600910 1 OBJECT LOCAL DEFAULT 25 completed.6697 43: 0000000000600918 8 OBJECT LOCAL DEFAULT 25 dtor_idx.6699 44: 0000000000400511 0 FUNC LOCAL DEFAULT 13 frame_dummy 45: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 46: 0000000000600718 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 47: 0000000000400708 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 48: 0000000000600730 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 49: 00000000004005b1 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 50: 0000000000000000 0 FILE LOCAL DEFAULT ABS test.c 51: 0000000000000000 0 FILE LOCAL DEFAULT ABS elf-init.c 52: 0000000000000000 0 FILE LOCAL DEFAULT ABS 53: 000000000060070c 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 54: 0000000000600738 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC 55: 000000000060070c 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 56: 00000000006008d0 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_ 57: 00000000004005b0 1 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 58: 0000000000000000 0 FUNC GLOBAL DEFAULT UND putchar@@GLIBC_2.2.5 59: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTab 60: 0000000000600900 0 NOTYPE WEAK DEFAULT 24 data_start 61: 0000000000600910 0 NOTYPE GLOBAL DEFAULT 24 _edata 62: 00000000004005d4 0 FUNC GLOBAL DEFAULT 14 _fini 63: 0000000000600728 0 OBJECT GLOBAL HIDDEN 19 __DTOR_END__ 64: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_ 65: 0000000000600900 0 NOTYPE GLOBAL DEFAULT 24 __data_start 66: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 67: 0000000000600908 0 OBJECT GLOBAL HIDDEN 24 __dso_handle 68: 00000000004005e4 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 69: 0000000000400540 101 FUNC GLOBAL DEFAULT 13 __libc_csu_init 70: 0000000000600920 0 NOTYPE GLOBAL DEFAULT 25 _end 71: 0000000000400430 42 FUNC GLOBAL DEFAULT 13 _start 72: 0000000000600910 0 NOTYPE GLOBAL DEFAULT 25 __bss_start 73: 0000000000400410 21 FUNC GLOBAL DEFAULT 13 main 74: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 75: 0000000000600910 0 OBJECT GLOBAL HIDDEN 24 __TMC_END__ 76: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable 77: 00000000004003a8 0 FUNC GLOBAL DEFAULT 11 _init Version symbols section '.gnu.version' contains 4 entries: Addr: 0000000000400320 Offset: 0x000320 Link: 5 (.dynsym) 000: 0 (*local*) 2 (GLIBC_2.2.5) 2 (GLIBC_2.2.5) 0 (*local*) Version needs section '.gnu.version_r' contains 1 entries: Addr: 0x0000000000400328 Offset: 0x000328 Link: 6 (.dynstr) 000000: Version: 1 File: libc.so.6 Cnt: 1 0x0010: Name: GLIBC_2.2.5 Flags: none Version: 2 Displaying notes found at file offset 0x0000021c with length 0x00000020: Owner Data size Description GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag) OS: Linux, ABI: 2.6.32 Displaying notes found at file offset 0x0000023c with length 0x00000024: Owner Data size Description GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: ed3a003d781594a8fc000ad6e7d038ff3f0a7e27 $ objdump -x testprog testprog: file format elf64-x86-64 testprog architecture: i386:x86-64, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x0000000000400430 Program Header: PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3 filesz 0x00000000000001c0 memsz 0x00000000000001c0 flags r-x INTERP off 0x0000000000000200 vaddr 0x0000000000400200 paddr 0x0000000000400200 align 2**0 filesz 0x000000000000001a memsz 0x000000000000001a flags r-- LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21 filesz 0x000000000000070c memsz 0x000000000000070c flags r-x LOAD off 0x0000000000000710 vaddr 0x0000000000600710 paddr 0x0000000000600710 align 2**21 filesz 0x0000000000000200 memsz 0x0000000000000210 flags rw- DYNAMIC off 0x0000000000000738 vaddr 0x0000000000600738 paddr 0x0000000000600738 align 2**3 filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw- NOTE off 0x000000000000021c vaddr 0x000000000040021c paddr 0x000000000040021c align 2**2 filesz 0x0000000000000044 memsz 0x0000000000000044 flags r-- EH_FRAME off 0x00000000000005e8 vaddr 0x00000000004005e8 paddr 0x00000000004005e8 align 2**2 filesz 0x0000000000000034 memsz 0x0000000000000034 flags r-- STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4 filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw- Dynamic Section: NEEDED libc.so.6 INIT 0x00000000004003a8 FINI 0x00000000004005d4 GNU_HASH 0x0000000000400260 STRTAB 0x00000000004002e0 SYMTAB 0x0000000000400280 STRSZ 0x0000000000000040 SYMENT 0x0000000000000018 DEBUG 0x0000000000000000 PLTGOT 0x00000000006008d0 PLTRELSZ 0x0000000000000048 PLTREL 0x0000000000000007 JMPREL 0x0000000000400360 RELA 0x0000000000400348 RELASZ 0x0000000000000018 RELAENT 0x0000000000000018 VERNEED 0x0000000000400328 VERNEEDNUM 0x0000000000000001 VERSYM 0x0000000000400320 Version References: required from libc.so.6: 0x09691a75 0x00 02 GLIBC_2.2.5 Sections: Idx Name Size VMA LMA File off Algn 0 .interp 0000001a 0000000000400200 0000000000400200 00000200 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.ABI-tag 00000020 000000000040021c 000000000040021c 0000021c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 000000000040023c 000000000040023c 0000023c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .gnu.hash 0000001c 0000000000400260 0000000000400260 00000260 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .dynsym 00000060 0000000000400280 0000000000400280 00000280 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynstr 00000040 00000000004002e0 00000000004002e0 000002e0 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .gnu.version 00000008 0000000000400320 0000000000400320 00000320 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version_r 00000020 0000000000400328 0000000000400328 00000328 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .rela.dyn 00000018 0000000000400348 0000000000400348 00000348 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.plt 00000048 0000000000400360 0000000000400360 00000360 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .init 00000024 00000000004003a8 00000000004003a8 000003a8 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 11 .plt 00000040 00000000004003d0 00000000004003d0 000003d0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .text 000001c1 0000000000400410 0000000000400410 00000410 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 13 .fini 0000000e 00000000004005d4 00000000004005d4 000005d4 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 14 .rodata 00000004 00000000004005e4 00000000004005e4 000005e4 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 15 .eh_frame_hdr 00000034 00000000004005e8 00000000004005e8 000005e8 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 16 .eh_frame 000000ec 0000000000400620 0000000000400620 00000620 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 17 .ctors 00000010 0000000000600710 0000000000600710 00000710 2**3 CONTENTS, ALLOC, LOAD, DATA 18 .dtors 00000010 0000000000600720 0000000000600720 00000720 2**3 CONTENTS, ALLOC, LOAD, DATA 19 .jcr 00000008 0000000000600730 0000000000600730 00000730 2**3 CONTENTS, ALLOC, LOAD, DATA 20 .dynamic 00000190 0000000000600738 0000000000600738 00000738 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .got 00000008 00000000006008c8 00000000006008c8 000008c8 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .got.plt 00000030 00000000006008d0 00000000006008d0 000008d0 2**3 CONTENTS, ALLOC, LOAD, DATA 23 .data 00000010 0000000000600900 0000000000600900 00000900 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .bss 00000010 0000000000600910 0000000000600910 00000910 2**3 ALLOC 25 .comment 00000011 0000000000000000 0000000000000000 00000910 2**0 CONTENTS, READONLY 26 .debug_aranges 00000130 0000000000000000 0000000000000000 00000930 2**4 CONTENTS, READONLY, DEBUGGING 27 .debug_info 00000692 0000000000000000 0000000000000000 00000a60 2**0 CONTENTS, READONLY, DEBUGGING 28 .debug_abbrev 00000274 0000000000000000 0000000000000000 000010f2 2**0 CONTENTS, READONLY, DEBUGGING 29 .debug_line 0000040f 0000000000000000 0000000000000000 00001366 2**0 CONTENTS, READONLY, DEBUGGING 30 .debug_str 0000050f 0000000000000000 0000000000000000 00001775 2**0 CONTENTS, READONLY, DEBUGGING 31 .debug_loc 0000011b 0000000000000000 0000000000000000 00001c84 2**0 CONTENTS, READONLY, DEBUGGING 32 .debug_ranges 00000100 0000000000000000 0000000000000000 00001da0 2**4 CONTENTS, READONLY, DEBUGGING SYMBOL TABLE: 0000000000400200 l d .interp 0000000000000000 .interp 000000000040021c l d .note.ABI-tag 0000000000000000 .note.ABI-tag 000000000040023c l d .note.gnu.build-id 0000000000000000 .note.gnu.build-id 0000000000400260 l d .gnu.hash 0000000000000000 .gnu.hash 0000000000400280 l d .dynsym 0000000000000000 .dynsym 00000000004002e0 l d .dynstr 0000000000000000 .dynstr 0000000000400320 l d .gnu.version 0000000000000000 .gnu.version 0000000000400328 l d .gnu.version_r 0000000000000000 .gnu.version_r 0000000000400348 l d .rela.dyn 0000000000000000 .rela.dyn 0000000000400360 l d .rela.plt 0000000000000000 .rela.plt 00000000004003a8 l d .init 0000000000000000 .init 00000000004003d0 l d .plt 0000000000000000 .plt 0000000000400410 l d .text 0000000000000000 .text 00000000004005d4 l d .fini 0000000000000000 .fini 00000000004005e4 l d .rodata 0000000000000000 .rodata 00000000004005e8 l d .eh_frame_hdr 0000000000000000 .eh_frame_hdr 0000000000400620 l d .eh_frame 0000000000000000 .eh_frame 0000000000600710 l d .ctors 0000000000000000 .ctors 0000000000600720 l d .dtors 0000000000000000 .dtors 0000000000600730 l d .jcr 0000000000000000 .jcr 0000000000600738 l d .dynamic 0000000000000000 .dynamic 00000000006008c8 l d .got 0000000000000000 .got 00000000006008d0 l d .got.plt 0000000000000000 .got.plt 0000000000600900 l d .data 0000000000000000 .data 0000000000600910 l d .bss 0000000000000000 .bss 0000000000000000 l d .comment 0000000000000000 .comment 0000000000000000 l d .debug_aranges 0000000000000000 .debug_aranges 0000000000000000 l d .debug_info 0000000000000000 .debug_info 0000000000000000 l d .debug_abbrev 0000000000000000 .debug_abbrev 0000000000000000 l d .debug_line 0000000000000000 .debug_line 0000000000000000 l d .debug_str 0000000000000000 .debug_str 0000000000000000 l d .debug_loc 0000000000000000 .debug_loc 0000000000000000 l d .debug_ranges 0000000000000000 .debug_ranges 0000000000000000 l df *ABS* 0000000000000000 init.c 0000000000000000 l df *ABS* 0000000000000000 crtstuff.c 0000000000600710 l O .ctors 0000000000000000 __CTOR_LIST__ 0000000000600720 l O .dtors 0000000000000000 __DTOR_LIST__ 0000000000600730 l O .jcr 0000000000000000 __JCR_LIST__ 000000000040045a l F .text 0000000000000000 deregister_tm_clones 0000000000400483 l F .text 0000000000000000 register_tm_clones 00000000004004c0 l F .text 0000000000000000 __do_global_dtors_aux 0000000000600910 l O .bss 0000000000000001 completed.6697 0000000000600918 l O .bss 0000000000000008 dtor_idx.6699 0000000000400511 l F .text 0000000000000000 frame_dummy 0000000000000000 l df *ABS* 0000000000000000 crtstuff.c 0000000000600718 l O .ctors 0000000000000000 __CTOR_END__ 0000000000400708 l O .eh_frame 0000000000000000 __FRAME_END__ 0000000000600730 l O .jcr 0000000000000000 __JCR_END__ 00000000004005b1 l F .text 0000000000000000 __do_global_ctors_aux 0000000000000000 l df *ABS* 0000000000000000 test.c 0000000000000000 l df *ABS* 0000000000000000 elf-init.c 0000000000000000 l df *ABS* 0000000000000000 000000000060070c l .ctors 0000000000000000 __init_array_end 0000000000600738 l O .dynamic 0000000000000000 _DYNAMIC 000000000060070c l .ctors 0000000000000000 __init_array_start 00000000006008d0 l O .got.plt 0000000000000000 _GLOBAL_OFFSET_TABLE_ 00000000004005b0 g F .text 0000000000000001 __libc_csu_fini 0000000000000000 F *UND* 0000000000000000 putchar@@GLIBC_2.2.5 0000000000000000 w *UND* 0000000000000000 _ITM_deregisterTMCloneTable 0000000000600900 w .data 0000000000000000 data_start 0000000000600910 g .data 0000000000000000 _edata 00000000004005d4 g F .fini 0000000000000000 _fini 0000000000600728 g O .dtors 0000000000000000 .hidden __DTOR_END__ 0000000000000000 F *UND* 0000000000000000 __libc_start_main@@GLIBC_2.2.5 0000000000600900 g .data 0000000000000000 __data_start 0000000000000000 w *UND* 0000000000000000 __gmon_start__ 0000000000600908 g O .data 0000000000000000 .hidden __dso_handle 00000000004005e4 g O .rodata 0000000000000004 _IO_stdin_used 0000000000400540 g F .text 0000000000000065 __libc_csu_init 0000000000600920 g .bss 0000000000000000 _end 0000000000400430 g F .text 000000000000002a _start 0000000000600910 g .bss 0000000000000000 __bss_start 0000000000400410 g F .text 0000000000000015 main 0000000000000000 w *UND* 0000000000000000 _Jv_RegisterClasses 0000000000600910 g O .data 0000000000000000 .hidden __TMC_END__ 0000000000000000 w *UND* 0000000000000000 _ITM_registerTMCloneTable 00000000004003a8 g F .init 0000000000000000 _init