[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224419: still seeing it



[On 08 Jan, @15:07, Daniel wrote in "Re: still seeing it ..."]
> On Thu, Jan 08, 2004 at 12:16:24PM +0100, Miek Gieben wrote:
> > Hello,
> > 
> > well, I really don't know it sometimes did work, but i'm getting
> > the same error again.
> > 
> > Here is trace of it: 
> > (Below is a trace with the LD_LIBRARY_PATH=/lib, which solved it)
> > 
> > strace gcc -g -O2  -o nsd answer.o axfr.o dbaccess.o dname.o namedb.o nsd.o
> > plugins.o query.o \
> > rbtree.o region-allocator.o \
> > server.o util.o b64_pton.o b64_ntop.o -lwrap -ldl
> 
> Stracing gcc doesn't tell me anything.  You need to strace the ld
> process that it spawns.  Or use -Wl,-Map,foo.map to take a look at what
> ld claims to open.

attached is foo.map of a failed compilation/linker

> 
> Does objdump -T /lib/ld-linux.so.2  | grep dl_tls_symaddr show
> anything?

# locate ld-linux.so
/lib/ld-linux.so.2
/lib/tls/ld-linux.so.2
/usr/lib/ld-linux.so.2

# dpkg -S /usr/lib/ld-linux.so.2 
dpkg: /usr/lib/ld-linux.so.2 not found.
# ls -l /usr/lib/ld-linux.so.2 
lrwxrwxrwx    1 root     root           11 Dec 10 11:46 /usr/lib/ld-linux.so.2 -> ld-2.3.2.so*

# dpkg -S /lib/ld-linux.so.2 
libc6: /lib/ld-linux.so.2

# objdump -T /lib/ld-linux.so.2 |grep dl_tls_symaddr 
0000e8e0 g    DF .text  0000002d  GLIBC_PRIVATE _dl_tls_symaddr

# objdump -T /lib/tls/ld-linux.so.2 |grep dl_tls_symaddr
0000ec40 g    DF .text  0000002e  GLIBC_PRIVATE _dl_tls_symaddr

# objdump -T //usr/lib/ld-linux.so.2 |grep dl_tls_symaddr
<nothing>


So again that /usr/lib/ld-linux.so.2

> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer

grtz
      Miek
--
fingerprint = E1EB 29B8 8FA2 2923 62B8  0A2B 64B8 F15C 7764 AB4B
http://miek.nl/about.html
Archive member included because of file (symbol)

/usr/lib/libc_nonshared.a(elf-init.oS)
                              /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o (__libc_csu_init)

Memory Configuration

Name             Origin             Length             Attributes
*default*        0x0000000000000000 0xffffffffffffffff

Linker script and memory map

LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
LOAD answer.o
LOAD axfr.o
LOAD dbaccess.o
LOAD dname.o
LOAD namedb.o
LOAD nsd.o
LOAD plugins.o
LOAD query.o
LOAD rbtree.o
LOAD region-allocator.o
LOAD server.o
LOAD util.o
LOAD b64_pton.o
LOAD b64_ntop.o
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../libwrap.so
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../libdl.so
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/libgcc.a
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/libgcc_eh.a
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../libc.so
START GROUP
LOAD /lib/libc.so.6
LOAD /usr/lib/libc_nonshared.a
END GROUP
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/libgcc.a
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/libgcc_eh.a
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o
LOAD /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o
                0x0000000008048000                PROVIDE (__executable_start, 0x8048000)
                0x0000000008048114                . = (0x8048000 + SIZEOF_HEADERS)

.interp         0x0000000008048114       0x13
 *(.interp)
 .interp        0x0000000008048114       0x13 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.note.ABI-tag   0x0000000008048128       0x20
 .note.ABI-tag  0x0000000008048128       0x20 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.hash           0x0000000008048148      0x270
 *(.hash)
 .hash          0x0000000008048148      0x270 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.dynsym         0x00000000080483b8      0x570
 *(.dynsym)
 .dynsym        0x00000000080483b8      0x570 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.dynstr         0x0000000008048928      0x32d
 *(.dynstr)
 .dynstr        0x0000000008048928      0x32d /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.gnu.version    0x0000000008048c56       0xae
 *(.gnu.version)
 .gnu.version   0x0000000008048c56       0xae /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.gnu.version_d
 *(.gnu.version_d)

.gnu.version_r  0x0000000008048d04       0x40
 *(.gnu.version_r)
 .gnu.version_r
                0x0000000008048d04       0x40 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.rel.dyn        0x0000000008048d44       0x20
 *(.rel.init)
 *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
 *(.rel.fini)
 *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
 *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
 *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
 *(.rel.ctors)
 *(.rel.dtors)
 *(.rel.got)
 .rel.got       0x0000000008048d44        0x8 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
 .rel.bss       0x0000000008048d4c       0x18 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.rela.dyn
 *(.rela.init)
 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
 *(.rela.fini)
 *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
 *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
 *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
 *(.rela.ctors)
 *(.rela.dtors)
 *(.rela.got)
 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)

.rel.plt        0x0000000008048d64      0x238
 *(.rel.plt)
 .rel.plt       0x0000000008048d64      0x238 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o

.rela.plt
 *(.rela.plt)

.init           0x0000000008048f9c       0x17
 *(.init)
 .init          0x0000000008048f9c        0xb /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
                0x0000000008048f9c                _init
 .init          0x0000000008048fa7        0x5 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 .init          0x0000000008048fac        0x5 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o
 .init          0x0000000008048fb1        0x2 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.plt            0x0000000008048fb4      0x480
 *(.plt)
 .plt           0x0000000008048fb4      0x480 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x0000000008048fc4                hosts_access
                0x0000000008048fd4                sigfillset@@GLIBC_2.0
                0x0000000008048fe4                chown@@GLIBC_2.1
                0x0000000008048ff4                sigaction@@GLIBC_2.0
                0x0000000008049004                strchr@@GLIBC_2.0
                0x0000000008049014                getpid@@GLIBC_2.0
                0x0000000008049024                __ctype_tolower_loc@@GLIBC_2.3
                0x0000000008049034                getaddrinfo@@GLIBC_2.0
                0x0000000008049044                write@@GLIBC_2.0
                0x0000000008049054                recvfrom@@GLIBC_2.0
                0x0000000008049064                close@@GLIBC_2.0
                0x0000000008049074                siginterrupt@@GLIBC_2.0
                0x0000000008049084                fprintf@@GLIBC_2.0
                0x0000000008049094                fork@@GLIBC_2.0
                0x00000000080490a4                fflush@@GLIBC_2.0
                0x00000000080490b4                unlink@@GLIBC_2.0
                0x00000000080490c4                request_init
                0x00000000080490d4                vsnprintf@@GLIBC_2.0
                0x00000000080490e4                getnameinfo@@GLIBC_2.1
                0x00000000080490f4                strerror@@GLIBC_2.0
                0x0000000008049104                getpwuid@@GLIBC_2.0
                0x0000000008049114                __errno_location@@GLIBC_2.0
                0x0000000008049124                setgid@@GLIBC_2.0
                0x0000000008049134                accept@@GLIBC_2.0
                0x0000000008049144                pselect@@GLIBC_2.0
                0x0000000008049154                listen@@GLIBC_2.0
                0x0000000008049164                malloc@@GLIBC_2.0
                0x0000000008049174                setsid@@GLIBC_2.0
                0x0000000008049184                fread@@GLIBC_2.0
                0x0000000008049194                sendto@@GLIBC_2.0
                0x00000000080491a4                syslog@@GLIBC_2.0
                0x00000000080491b4                abort@@GLIBC_2.0
                0x00000000080491c4                setsockopt@@GLIBC_2.0
                0x00000000080491d4                waitpid@@GLIBC_2.0
                0x00000000080491e4                time@@GLIBC_2.0
                0x00000000080491f4                getopt@@GLIBC_2.0
                0x0000000008049204                strlen@@GLIBC_2.0
                0x0000000008049214                sigaddset@@GLIBC_2.0
                0x0000000008049224                __strtol_internal@@GLIBC_2.0
                0x0000000008049234                sigprocmask@@GLIBC_2.0
                0x0000000008049244                strncmp@@GLIBC_2.0
                0x0000000008049254                openlog@@GLIBC_2.0
                0x0000000008049264                __libc_start_main@@GLIBC_2.0
                0x0000000008049274                dup2@@GLIBC_2.0
                0x0000000008049284                realloc@@GLIBC_2.0
                0x0000000008049294                closelog@@GLIBC_2.0
                0x00000000080492a4                bind@@GLIBC_2.0
                0x00000000080492b4                sock_hostname
                0x00000000080492c4                getuid@@GLIBC_2.0
                0x00000000080492d4                memcpy@@GLIBC_2.0
                0x00000000080492e4                fclose@@GLIBC_2.1
                0x00000000080492f4                getgid@@GLIBC_2.0
                0x0000000008049304                snprintf@@GLIBC_2.0
                0x0000000008049314                gethostname@@GLIBC_2.0
                0x0000000008049324                open@@GLIBC_2.0
                0x0000000008049334                endpwent@@GLIBC_2.0
                0x0000000008049344                sigemptyset@@GLIBC_2.0
                0x0000000008049354                getpwnam@@GLIBC_2.0
                0x0000000008049364                exit@@GLIBC_2.0
                0x0000000008049374                free@@GLIBC_2.0
                0x0000000008049384                memset@@GLIBC_2.0
                0x0000000008049394                fopen@@GLIBC_2.1
                0x00000000080493a4                kill@@GLIBC_2.0
                0x00000000080493b4                sock_hostaddr
                0x00000000080493c4                fwrite@@GLIBC_2.0
                0x00000000080493d4                socket@@GLIBC_2.0
                0x00000000080493e4                __ctype_b_loc@@GLIBC_2.3
                0x00000000080493f4                setuid@@GLIBC_2.0
                0x0000000008049404                read@@GLIBC_2.0
                0x0000000008049414                alarm@@GLIBC_2.0
                0x0000000008049424                chroot@@GLIBC_2.0

.text           0x0000000008049440     0x7180
 *(.text .stub .text.* .gnu.linkonce.t.*)
 .text          0x0000000008049440       0x24 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x0000000008049440                _start
 .text          0x0000000008049464       0x22 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 *fill*         0x0000000008049486        0xa 90909090
 .text          0x0000000008049490       0x74 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 *fill*         0x0000000008049504        0xc 90909090
 .text          0x0000000008049510      0x526 answer.o
                0x0000000008049510                answer_init
                0x0000000008049950                encode_answer
                0x0000000008049660                encode_rr
                0x0000000008049520                answer_add_rrset
 *fill*         0x0000000008049a36        0xa 90909090
 .text          0x0000000008049a40      0x425 axfr.o
                0x0000000008049a40                query_axfr
                0x0000000008049cd0                answer_axfr_ixfr
 *fill*         0x0000000008049e65        0xb 90909090
 .text          0x0000000008049e70      0x947 dbaccess.o
                0x0000000008049e70                namedb_lookup
                0x000000000804a480                namedb_open
                0x000000000804a7a0                namedb_close
 *fill*         0x000000000804a7b7        0x9 90909090
 .text          0x000000000804a7c0      0x86b dname.o
                0x000000000804aa30                dname_is_subdomain
                0x000000000804ab90                dname_label_match_count
                0x000000000804a970                dname_copy
                0x000000000804a7c0                dname_make
                0x000000000804a8f0                dname_parse
                0x000000000804a9f0                dname_partial_copy
                0x000000000804aad0                dname_compare
                0x000000000804ac40                label_compare
                0x000000000804aca0                dname_to_string
                0x000000000804af30                create_dname
                0x000000000804afb0                cat_dname
                0x000000000804acc0                labels_to_string
 *fill*         0x000000000804b02b        0x5 90909090
 .text          0x000000000804b030      0x5a0 namedb.o
                0x000000000804b440                domain_find_zone
                0x000000000804b1f0                domain_table_find
                0x000000000804b4b0                domain_find_ns_rrsets
                0x000000000804b5a0                zone_is_secure
                0x000000000804b510                domain_is_glue
                0x000000000804b0b0                domain_table_create
                0x000000000804b480                domain_find_parent_zone
                0x000000000804b310                domain_table_iterate
                0x000000000804b3a0                domain_add_rrset
                0x000000000804b570                domain_wildcard_child
                0x000000000804b420                domain_find_any_rrset
                0x000000000804b5b0                rrset_rrsig_type_covered
                0x000000000804b160                domain_table_search
                0x000000000804b230                domain_table_insert
                0x000000000804b3e0                domain_find_rrset
 .text          0x000000000804b5d0     0x14f8 nsd.o
                0x000000000804b930                sig_handler
                0x000000000804ba90                bind8_stats
                0x000000000804b760                readpid
                0x000000000804c020                main
                0x000000000804b810                writepid
 *fill*         0x000000000804cac8        0x8 90909090
 .text          0x000000000804cad0     0x158e query.o
                0x000000000804ddf0                query_process
                0x000000000804cbb0                query_clear_compression_tables
                0x000000000804cb30                query_clear_dname_offsets
                0x000000000804cc00                query_add_compression_domain
                0x000000000804cad0                query_put_dname_offset
                0x000000000804ccc0                query_init
                0x000000000804dfb0                query_addedns
                0x000000000804cc60                query_error
 *fill*         0x000000000804e05e        0x2 90909090
 .text          0x000000000804e060      0x444 rbtree.o
                0x000000000804e330                rbtree_find_less_equal
                0x000000000804e3f0                rbtree_next
                0x000000000804e390                rbtree_first
                0x000000000804e250                rbtree_insert
                0x000000000804e450                rbtree_previous
                0x000000000804e060                rbtree_create
                0x000000000804e3c0                rbtree_last
                0x000000000804e2f0                rbtree_search
 *fill*         0x000000000804e4a4        0xc 90909090
 .text          0x000000000804e4b0      0x4a0 region-allocator.o
                0x000000000804e5a0                region_set_current
                0x000000000804e560                region_destroy
                0x000000000804e5b0                region_get_current
                0x000000000804e5c0                region_add_cleanup
                0x000000000804e7c0                region_alloc_zero
                0x000000000804e810                region_alloc_current
                0x000000000804e8a0                region_strdup
                0x000000000804e900                region_dump_stats
                0x000000000804e770                region_alloc_init
                0x000000000804e4b0                region_create
                0x000000000804e830                region_free_all
                0x000000000804e670                region_alloc
 .text          0x000000000804e950     0x12a8 server.o
                0x000000000804ee50                server_main
                0x000000000804eac0                server_init
                0x000000000804f930                server_child
 *fill*         0x000000000804fbf8        0x8 90909090
 .text          0x000000000804fc00      0x3f1 util.o
                0x000000000804fe40                log_vmsg
                0x000000000804fc00                log_init
                0x000000000804fe00                log_set_log_function
                0x000000000804fe10                log_msg
                0x000000000804fc20                log_open
                0x000000000804fd90                log_syslog
                0x000000000804ff60                write_data
                0x000000000804fec0                xalloc_zero
                0x000000000804ff00                xrealloc
                0x000000000804fc90                log_finalize
                0x000000000804fe70                xalloc
                0x000000000804fcc0                log_file
 *fill*         0x000000000804fff1        0xf 90909090
 .text          0x0000000008050000      0x259 b64_pton.o
                0x0000000008050000                b64_pton
 *fill*         0x0000000008050259        0x7 90909090
 .text          0x0000000008050260      0x266 b64_ntop.o
                0x0000000008050260                b64_ntop
 *fill*         0x00000000080504c6        0xa 90909090
 .text          0x00000000080504d0       0xb0 /usr/lib/libc_nonshared.a(elf-init.oS)
                0x0000000008050530                __libc_csu_fini
                0x00000000080504d0                __libc_csu_init
 .gnu.linkonce.t.__i686.get_pc_thunk.bx
                0x0000000008050580        0x4 /usr/lib/libc_nonshared.a(elf-init.oS)
                0x0000000008050580                __i686.get_pc_thunk.bx
 *fill*         0x0000000008050584        0xc 90909090
 .text          0x0000000008050590       0x30 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o
 *(.gnu.warning)

.fini           0x00000000080505c0       0x1b
 *(.fini)
 .fini          0x00000000080505c0       0x11 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
                0x00000000080505c0                _fini
 .fini          0x00000000080505d1        0x5 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 .fini          0x00000000080505d6        0x5 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o
                0x00000000080505db                PROVIDE (__etext, .)
                0x00000000080505db                PROVIDE (_etext, .)
                0x00000000080505db                PROVIDE (etext, .)

.rodata         0x00000000080505e0     0x1462
 *(.rodata .rodata.* .gnu.linkonce.r.*)
 .rodata        0x00000000080505e0        0x8 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x00000000080505e0                _fp_hw
                0x00000000080505e4                _IO_stdin_used
 .rodata.str1.1
                0x00000000080505e8       0x11 axfr.o
 .rodata        0x00000000080505f9        0x8 dbaccess.o
 .rodata.str1.1
                0x0000000008050601       0x17 dbaccess.o
                                         0x19 (size before relaxing)
 .rodata.str1.1
                0x0000000008050618       0x18 namedb.o
 .rodata.str1.1
                0x0000000008050630      0x2e3 nsd.o
                                        0x304 (size before relaxing)
 *fill*         0x0000000008050913        0xd 00
 .rodata.str1.32
                0x0000000008050920      0x879 nsd.o
 *fill*         0x0000000008051199        0x3 00
 .rodata        0x000000000805119c      0x19c nsd.o
 *fill*         0x0000000008051338        0x8 00
 .rodata.str1.32
                0x0000000008051340       0x2a query.o
 .rodata.str1.1
                0x000000000805136a       0x4e query.o
 *fill*         0x00000000080513b8        0x8 00
 .rodata.str1.32
                0x00000000080513c0       0x60 region-allocator.o
 .rodata.str1.1
                0x0000000008051420      0x181 server.o
                                        0x191 (size before relaxing)
 *fill*         0x00000000080515a1       0x1f 00
 .rodata.str1.32
                0x00000000080515c0      0x34d server.o
                                        0x38d (size before relaxing)
 .rodata.str1.1
                0x000000000805190d       0x40 util.o
                                         0x5b (size before relaxing)
 *fill*         0x000000000805194d       0x13 00
 .rodata.str1.32
                0x0000000008051960       0x30 util.o
 *fill*         0x0000000008051990       0x10 00
 .rodata        0x00000000080519a0       0x42 b64_pton.o
 *fill*         0x00000000080519e2       0x1e 00
 .rodata        0x0000000008051a00       0x42 b64_ntop.o

.rodata1
 *(.rodata1)

.eh_frame_hdr
 *(.eh_frame_hdr)
                0x0000000008051a42                . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
                0x0000000008052000                . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)
                0x0000000008052000                . = ALIGN (0x4)
                0x0000000008052000                PROVIDE (__preinit_array_start, .)

.preinit_array
 *(.preinit_array)
                0x0000000008052000                PROVIDE (__preinit_array_end, .)
                0x0000000008052000                PROVIDE (__init_array_start, .)

.init_array
 *(.init_array)
                0x0000000008052000                PROVIDE (__init_array_end, .)
                0x0000000008052000                PROVIDE (__fini_array_start, .)

.fini_array
 *(.fini_array)
                0x0000000008052000                PROVIDE (__fini_array_end, .)

.data           0x0000000008052000      0x498
 *(.data .data.* .gnu.linkonce.d.*)
 .data          0x0000000008052000        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x0000000008052000                data_start
                0x0000000008052000                __data_start
 .data          0x0000000008052004        0x8 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
                0x0000000008052004                __dso_handle
 .data          0x000000000805200c        0x8 axfr.o
                0x000000000805200c                allow_severity
                0x0000000008052010                deny_severity
 *fill*         0x0000000008052014        0xc 00
 .data          0x0000000008052020       0x44 namedb.o
                0x0000000008052020                rdata_types
 *fill*         0x0000000008052064       0x1c 00
 .data          0x0000000008052080      0x400 nsd.o
 .data          0x0000000008052480       0x14 rbtree.o
                0x0000000008052480                rbtree_null_node
 .data          0x0000000008052494        0x4 util.o

.data1
 *(.data1)

.tdata
 *(.tdata .tdata.* .gnu.linkonce.td.*)

.tbss
 *(.tbss .tbss.* .gnu.linkonce.tb.*)
 *(.tcommon)

.eh_frame       0x0000000008052498        0x4
 *(.eh_frame)
 .eh_frame      0x0000000008052498        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o

.gcc_except_table
 *(.gcc_except_table)

.dynamic        0x000000000805249c       0xd8
 *(.dynamic)
 .dynamic       0x000000000805249c       0xd8 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x000000000805249c                _DYNAMIC

.ctors          0x0000000008052574        0x8
 *crtbegin*.o(.ctors)
 *(EXCLUDE_FILE(*crtend*.o) .ctors)
 .ctors         0x0000000008052574        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 *(SORT(.ctors.*))
 *(.ctors)
 .ctors         0x0000000008052578        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o

.dtors          0x000000000805257c        0x8
 *crtbegin*.o(.dtors)
 *(EXCLUDE_FILE(*crtend*.o) .dtors)
 .dtors         0x000000000805257c        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 *(SORT(.dtors.*))
 *(.dtors)
 .dtors         0x0000000008052580        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o

.jcr            0x0000000008052584        0x4
 *(.jcr)
 .jcr           0x0000000008052584        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o

.got            0x0000000008052588      0x12c
 *(.got.plt)
 .got.plt       0x0000000008052588      0x128 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x0000000008052588                _GLOBAL_OFFSET_TABLE_
 *(.got)
 .got           0x00000000080526b0        0x4 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x00000000080526b4                _edata = .
                0x00000000080526b4                PROVIDE (edata, .)
                0x00000000080526b4                __bss_start = .

.bss            0x00000000080526c0      0x810
 *(.dynbss)
 .dynbss        0x00000000080526c0        0xc /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                0x00000000080526c0                stderr@@GLIBC_2.0
                0x00000000080526c4                optarg@@GLIBC_2.0
                0x00000000080526c8                optind@@GLIBC_2.0
 *(.bss .bss.* .gnu.linkonce.b.*)
 .bss           0x00000000080526cc        0x1 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 *fill*         0x00000000080526cd        0x3 00
 *fill*         0x00000000080526d0       0x10 00
 .bss           0x00000000080526e0      0x200 dname.o
 .bss           0x00000000080528e0      0x5e0 nsd.o
 .bss           0x0000000008052ec0        0x4 region-allocator.o
 .bss           0x0000000008052ec4        0x4 server.o
 .bss           0x0000000008052ec8        0x8 util.o
 *(COMMON)
                0x0000000008052ed0                . = ALIGN (0x4)
                0x0000000008052ed0                . = ALIGN (0x4)
                0x0000000008052ed0                _end = .
                0x0000000008052ed0                PROVIDE (end, .)
                0x0000000008052ed0                . = DATA_SEGMENT_END (.)

.stab
 *(.stab)

.stabstr
 *(.stabstr)

.stab.excl
 *(.stab.excl)

.stab.exclstr
 *(.stab.exclstr)

.stab.index
 *(.stab.index)

.stab.indexstr
 *(.stab.indexstr)

.comment        0x0000000000000000      0x37c
 *(.comment)
 .comment       0x0000000000000000       0x1b /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .comment       0x000000000000001b       0x1b /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 .comment       0x0000000000000036       0x31 /usr/lib/gcc-lib/i486-linux/3.3.3/crtbegin.o
 .comment       0x0000000000000067       0x31 answer.o
 .comment       0x0000000000000098       0x31 axfr.o
 .comment       0x00000000000000c9       0x31 dbaccess.o
 .comment       0x00000000000000fa       0x31 dname.o
 .comment       0x000000000000012b       0x31 namedb.o
 .comment       0x000000000000015c       0x31 nsd.o
 .comment       0x000000000000018d       0x31 plugins.o
 .comment       0x00000000000001be       0x31 query.o
 .comment       0x00000000000001ef       0x31 rbtree.o
 .comment       0x0000000000000220       0x31 region-allocator.o
 .comment       0x0000000000000251       0x31 server.o
 .comment       0x0000000000000282       0x31 util.o
 .comment       0x00000000000002b3       0x31 b64_pton.o
 .comment       0x00000000000002e4       0x31 b64_ntop.o
 .comment       0x0000000000000315       0x1b /usr/lib/libc_nonshared.a(elf-init.oS)
 .comment       0x0000000000000330       0x31 /usr/lib/gcc-lib/i486-linux/3.3.3/crtend.o
 .comment       0x0000000000000361       0x1b /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.debug
 *(.debug)

.line
 *(.line)

.debug_srcinfo
 *(.debug_srcinfo)

.debug_sfnames
 *(.debug_sfnames)

.debug_aranges  0x0000000000000000      0x218
 *(.debug_aranges)
 .debug_aranges
                0x0000000000000000       0x20 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .debug_aranges
                0x0000000000000020       0x30 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 .debug_aranges
                0x0000000000000050       0x20 answer.o
 .debug_aranges
                0x0000000000000070       0x20 axfr.o
 .debug_aranges
                0x0000000000000090       0x20 dbaccess.o
 .debug_aranges
                0x00000000000000b0       0x20 dname.o
 .debug_aranges
                0x00000000000000d0       0x20 namedb.o
 .debug_aranges
                0x00000000000000f0       0x20 nsd.o
 .debug_aranges
                0x0000000000000110       0x20 query.o
 .debug_aranges
                0x0000000000000130       0x20 rbtree.o
 .debug_aranges
                0x0000000000000150       0x20 region-allocator.o
 .debug_aranges
                0x0000000000000170       0x20 server.o
 .debug_aranges
                0x0000000000000190       0x20 util.o
 .debug_aranges
                0x00000000000001b0       0x20 b64_pton.o
 .debug_aranges
                0x00000000000001d0       0x20 b64_ntop.o
 .debug_aranges
                0x00000000000001f0       0x28 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.debug_pubnames
                0x0000000000000000      0x7cc
 *(.debug_pubnames)
 .debug_pubnames
                0x0000000000000000       0x25 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .debug_pubnames
                0x0000000000000025       0x57 answer.o
 .debug_pubnames
                0x000000000000007c       0x5b axfr.o
 .debug_pubnames
                0x00000000000000d7       0x45 dbaccess.o
 .debug_pubnames
                0x000000000000011c       0xf6 dname.o
 .debug_pubnames
                0x0000000000000212      0x186 namedb.o
 .debug_pubnames
                0x0000000000000398       0x54 nsd.o
 .debug_pubnames
                0x00000000000003ec       0xd2 query.o
 .debug_pubnames
                0x00000000000004be       0xbd rbtree.o
 .debug_pubnames
                0x000000000000057b      0x10e region-allocator.o
 .debug_pubnames
                0x0000000000000689       0x43 server.o
 .debug_pubnames
                0x00000000000006cc       0xc2 util.o
 .debug_pubnames
                0x000000000000078e       0x1f b64_pton.o
 .debug_pubnames
                0x00000000000007ad       0x1f b64_ntop.o

.debug_info     0x0000000000000000    0x234ad
 *(.debug_info .gnu.linkonce.wi.*)
 .debug_info    0x0000000000000000      0x91e /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .debug_info    0x000000000000091e       0x9c /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 .debug_info    0x00000000000009ba     0x2b58 answer.o
 .debug_info    0x0000000000003512     0x27a2 axfr.o
 .debug_info    0x0000000000005cb4     0x2afd dbaccess.o
 .debug_info    0x00000000000087b1     0x2807 dname.o
 .debug_info    0x000000000000afb8     0x246b namedb.o
 .debug_info    0x000000000000d423     0x3f47 nsd.o
 .debug_info    0x000000000001136a     0x10ff plugins.o
 .debug_info    0x0000000000012469     0x3c41 query.o
 .debug_info    0x00000000000160aa     0x1d9a rbtree.o
 .debug_info    0x0000000000017e44     0x1df4 region-allocator.o
 .debug_info    0x0000000000019c38     0x3eb9 server.o
 .debug_info    0x000000000001daf1     0x235a util.o
 .debug_info    0x000000000001fe4b     0x1ac8 b64_pton.o
 .debug_info    0x0000000000021913     0x1afe b64_ntop.o
 .debug_info    0x0000000000023411       0x9c /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.debug_abbrev   0x0000000000000000     0x2776
 *(.debug_abbrev)
 .debug_abbrev  0x0000000000000000      0x118 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .debug_abbrev  0x0000000000000118       0x10 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 .debug_abbrev  0x0000000000000128      0x350 answer.o
 .debug_abbrev  0x0000000000000478      0x2b2 axfr.o
 .debug_abbrev  0x000000000000072a      0x2dc dbaccess.o
 .debug_abbrev  0x0000000000000a06      0x318 dname.o
 .debug_abbrev  0x0000000000000d1e      0x2dc namedb.o
 .debug_abbrev  0x0000000000000ffa      0x3c5 nsd.o
 .debug_abbrev  0x00000000000013bf      0x156 plugins.o
 .debug_abbrev  0x0000000000001515      0x3f5 query.o
 .debug_abbrev  0x000000000000190a      0x236 rbtree.o
 .debug_abbrev  0x0000000000001b40      0x269 region-allocator.o
 .debug_abbrev  0x0000000000001da9      0x3f0 server.o
 .debug_abbrev  0x0000000000002199      0x22e util.o
 .debug_abbrev  0x00000000000023c7      0x1d5 b64_pton.o
 .debug_abbrev  0x000000000000259c      0x1ca b64_ntop.o
 .debug_abbrev  0x0000000000002766       0x10 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.debug_line     0x0000000000000000     0x3281
 *(.debug_line)
 .debug_line    0x0000000000000000      0x135 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
 .debug_line    0x0000000000000135       0x9e /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crti.o
 .debug_line    0x00000000000001d3      0x40e answer.o
 .debug_line    0x00000000000005e1      0x2c6 axfr.o
 .debug_line    0x00000000000008a7      0x37b dbaccess.o
 .debug_line    0x0000000000000c22      0x431 dname.o
 .debug_line    0x0000000000001053      0x35b namedb.o
 .debug_line    0x00000000000013ae      0x57f nsd.o
 .debug_line    0x000000000000192d      0x158 plugins.o
 .debug_line    0x0000000000001a85      0x65a query.o
 .debug_line    0x00000000000020df      0x298 rbtree.o
 .debug_line    0x0000000000002377      0x284 region-allocator.o
 .debug_line    0x00000000000025fb      0x59a server.o
 .debug_line    0x0000000000002b95      0x237 util.o
 .debug_line    0x0000000000002dcc      0x221 b64_pton.o
 .debug_line    0x0000000000002fed      0x218 b64_ntop.o
 .debug_line    0x0000000000003205       0x7c /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crtn.o

.debug_frame    0x0000000000000000      0xfb4
 *(.debug_frame)
 .debug_frame   0x0000000000000000       0xcc answer.o
 .debug_frame   0x00000000000000cc       0x54 axfr.o
 .debug_frame   0x0000000000000120      0x12c dbaccess.o
 .debug_frame   0x000000000000024c      0x1a4 dname.o
 .debug_frame   0x00000000000003f0      0x1d4 namedb.o
 .debug_frame   0x00000000000005c4      0x104 nsd.o
 .debug_frame   0x00000000000006c8      0x2ec query.o
 .debug_frame   0x00000000000009b4      0x138 rbtree.o
 .debug_frame   0x0000000000000aec      0x174 region-allocator.o
 .debug_frame   0x0000000000000c60      0x198 server.o
 .debug_frame   0x0000000000000df8      0x154 util.o
 .debug_frame   0x0000000000000f4c       0x34 b64_pton.o
 .debug_frame   0x0000000000000f80       0x34 b64_ntop.o

.debug_str      0x0000000000000000     0x42ae
 *(.debug_str)
 .debug_str     0x0000000000000000      0x6a1 /usr/lib/gcc-lib/i486-linux/3.3.3/../../../crt1.o
                                        0x6e1 (size before relaxing)
 .debug_str     0x00000000000006a1     0x121c answer.o
                                       0x1bae (size before relaxing)
 .debug_str     0x00000000000018bd      0x143 axfr.o
                                       0x1b7f (size before relaxing)
 .debug_str     0x0000000000001a00     0x13b0 dbaccess.o
                                       0x2b17 (size before relaxing)
 .debug_str     0x0000000000002db0      0x1df dname.o
                                       0x1918 (size before relaxing)
 .debug_str     0x0000000000002f8f      0x17c namedb.o
                                       0x1974 (size before relaxing)
 .debug_str     0x000000000000310b      0xa39 nsd.o
                                       0x378b (size before relaxing)
 .debug_str     0x0000000000003b44        0xa plugins.o
                                        0xf22 (size before relaxing)
 .debug_str     0x0000000000003b4e      0x24e query.o
                                       0x31b9 (size before relaxing)
 .debug_str     0x0000000000003d9c       0xcc rbtree.o
                                       0x164d (size before relaxing)
 .debug_str     0x0000000000003e68      0x18b region-allocator.o
                                       0x16fd (size before relaxing)
 .debug_str     0x0000000000003ff3      0x175 server.o
                                       0x3770 (size before relaxing)
 .debug_str     0x0000000000004168       0xc8 util.o
                                       0x2872 (size before relaxing)
 .debug_str     0x0000000000004230       0x41 b64_pton.o
                                       0x15bf (size before relaxing)
 .debug_str     0x0000000000004271       0x3d b64_ntop.o
                                       0x15d8 (size before relaxing)

.debug_loc
 *(.debug_loc)

.debug_macinfo
 *(.debug_macinfo)

.debug_weaknames
 *(.debug_weaknames)

.debug_funcnames
 *(.debug_funcnames)

.debug_typenames
 *(.debug_typenames)

.debug_varnames
 *(.debug_varnames)

/DISCARD/
 *(.note.GNU-stack)
OUTPUT(nsd elf32-i386)

.debug_ranges   0x0000000000000000      0x240
 .debug_ranges  0x0000000000000000       0x18 axfr.o
 .debug_ranges  0x0000000000000018       0x90 dbaccess.o
 .debug_ranges  0x00000000000000a8       0x60 dname.o
 .debug_ranges  0x0000000000000108       0x20 namedb.o
 .debug_ranges  0x0000000000000128       0x88 nsd.o
 .debug_ranges  0x00000000000001b0       0x30 query.o
 .debug_ranges  0x00000000000001e0       0x48 server.o
 .debug_ranges  0x0000000000000228       0x18 util.o

Reply to: