Segmentation fault after stripping

linux fan linuxscratch at gmail.com
Mon Nov 23 18:49:28 PST 2009


On 11/23/09, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> To check things out a little more, you can try

Er, uh, excuse my dumbness, but ...
did you mean like:
ldd /usr/bin/make

or like:
ldd /tools/bin/make

or like:
/tools/bin/ldd /tools/bin/make

... By the way, this is without the stripping ...

/tools/bin/ldd /tools/bin/make
        linux-gate.so.1 =>  (0xffffe000)
        librt.so.1 => /tools/lib/librt.so.1 (0xb7745000)
        libgcc_s.so.1 => /tools/lib/libgcc_s.so.1 (0xb7727000)
        libc.so.6 => /tools/lib/libc.so.6 (0xb75d0000)
        libpthread.so.0 => /tools/lib/libpthread.so.0 (0xb75b5000)
        /tools/lib/ld-linux.so.2 (0xb774f000)

file /tools/bin/make
/tools/bin/make: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18,
not stripped
file /tools/bin/make
/tools/bin/make: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18,
not stripped
root at lfs:~# /tools/bin/nm --dynamic /tools/bin/make
         U _IO_putc
080656a4 R _IO_stdin_used
         w _Jv_RegisterClasses
         U __assert_fail
         U __ctype_b_loc
         U __ctype_tolower_loc
         U __cxa_atexit
0806da00 B __environ
         U __errno_location
         U __fxstat64
         w __gmon_start__
         U __libc_start_main
         U __lxstat64
         U __rawmemchr
         U __strdup
         U __xstat64
0806da00 V _environ
         U _exit
         U abort
         U alarm
         U bindtextdomain
         U bsd_signal
         U calloc
         U chdir
         U clock_gettime
         U close
         U closedir
         U ctime
         U dcgettext
         U dup
         U dup2
0806da00 V environ
08059760 T error
         U execvp
         U exit
         U fclose
         U fcntl
         U fdopen
         U feof
         U ferror
         U fflush
         U fgets
         U fnmatch
         U fopen64
         U fprintf
         U fputs
         U fread
         U free
         U fwrite
         U getcwd
         U getenv
         U getloadavg
         U getlogin
         U getopt_long
         U getpid
         U getpwnam
         U getrlimit64
         U gettimeofday
         U glob64
         U globfree64
         U kill
         U localtime
         U lseek64
         U malloc
         U memcpy
         U memmove
         U memset
         U mkstemp64
         U open64
         U opendir
0806da28 B optarg
0806da24 B opterr
0806d9e0 B optind
         U pipe
         U printf
         U putenv
         U puts
         U qsort
         U read
         U readdir64
         U readlink
         U realloc
         U realpath
         U remove
         U setlocale
         U setrlimit64
         U setvbuf
         U sigaction
         U sigaddset
         U sigemptyset
         U signal
         U sigprocmask
         U sprintf
         U sscanf
0806d9e4 B stderr
0806da04 B stdin
0806da20 B stdout
         U strcat
         U strchr
         U strcmp
         U strcpy
         U strerror
         U strlen
         U strncmp
         U strncpy
         U strrchr
         U strsignal
         U strstr
         U strtod
         U strtol
         U textdomain
         U time
         U unlink
         U vfork
         U vfprintf
         U wait
         U waitpid
         U write

... Or did you want me to get it sripped and then ...
but help me know EXACT command to use, thanks



More information about the lfs-support mailing list