bug-hurd
[Top][All Lists]
Advanced

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

Re: Libc patch no longer applies


From: Thomas Schwinge
Subject: Re: Libc patch no longer applies
Date: Fri, 16 Sep 2011 10:49:31 +0200
User-agent: Notmuch/0.7-57-g64222ef (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

Hi!

IRC, freenode, #hurd, 2011-09-15:

    <tschwinge> Hooray!  I found my glibc source and build (!) directories from
      2010-04.
    <tschwinge> String dump of section '.comment':
    <tschwinge>   [     1]  GCC: (Debian 4.4.3-3) 4.4.3
    <tschwinge> Aha.  Good.
    <tschwinge> And binutils 2.20.1.20100303.
    <tschwinge> I'm inclined to say that it is a tools issue.  The source tree
      doesn't have any modifications.
    <tschwinge> I can do a crosscheck.
    <tschwinge> Over night.  Perfect.

... and this did work!  That is, ``--build=i486-gnu --host=i486-gnu''
configuration with GCC 4.4, plus old binutils downgraded to Debian
package 2.20.1-2.

And, on the other machine (with the 2010-04 trees), I built with recent
binutils as a crosscheck.  As expected, I got the same failure as we've
seen before.  The specific GCC 4.4 version doesn't appear to matter.

I will next compare the object files of the two builds that only differ
w.r.t. binutils.


On Thu, 15 Sep 2011 16:41:19 +0200, Thomas Schwinge <thomas@schwinge.name> 
wrote:
> By the way, why I first want to have the current branch
> buildable/testable again, is for being able to track regressions -- it
> definitely has been buildable in the past.

And on we go!  Testsuite.  As we know, there is quite a baseline of
failures.

Additional failures compared to Debian.

All the many SO-found-found ones are due to configuring with
--prefix=/usr instead of --prefix= -- but Debian also has --prefix=/usr,
so I guess they have a patch for that.  Will go looking.

A bunch of the other failures are probably new; others are not nice but
not too worrying either.  Hopefully some will go away as soon as I update
From the 2010-04 glibc sources.

    $ bash 
~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/convertlog.sh 
log_check  > log_check.filtered
    $ bash ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/compare.sh 
~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/expected-results-i486-gnu-libc
 log_check.filtered

  * `bug-atexit3.out`, `debug/tst-chk4`, `debug/tst-lfschk4`,
    `debug/tst-lfschk5`, `debug/tst-lfschk6`, `debug/tst-chk5`,
    `debug/tst-chk6`

    Either linking error, or:

        dlopen failed: libstdc++.so.6: cannot open shared object file: No such 
file or directory

  * `posix/bug-ga1`

        *** glibc detected *** 
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/posix/bug-ga1:
 free(): invalid pointer: 0x01026000 ***

  * `elf/circleload1`, `elf/loadtest`, `elf/neededtest`, `elf/neededtest2`,
    `elf/neededtest3`, `elf/neededtest4, `elf/unload`, `elf/unload2`

        /usr/bin/ld: ^Q: invalid DSO for symbol `_r_debug@@GLIBC_2.2.6' 
definition
        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/ld.so.1:
 could not read symbols: Bad value
        collect2: ld returned 1 exit status
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/circleload1]
 Error 1

  * `io/ftwtest`, `posix/globtest`, `iconvdata/iconv-test`, `intl/tst-gettext`,
    `malloc/tst-mtrace`, `elf/tst-pathopt`, `iconvdata/tst-tables`,
    `grp/tst_fgetgrent`, `dlfcn/tststatic`, `dlfcn/tststatic2`,
    `posix/wordexp-tst`

        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/io/ftwtest:
 error while loading shared libraries: libmachuser.so.1: cannot open shared 
object file: No such file or directory

    Should be using the build-directory one anyway!

  * `elf/noload`

        /usr/bin/ld: ^R: invalid DSO for symbol `dlclose@@GLIBC_2.2.6' 
definition
        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/dlfcn/libdl.so.2:
 could not read symbols: Bad value
        collect2: ld returned 1 exit status
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/noload]
 Error 1

  * `math/test-idouble`, `math/test-ifloat`, `math/test-ildoubl`,
    `math/test-ldouble`

    SIGSEGV.

  * `rt/tst-aio10`, `rt/tst-aio9`

        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10.o:
 In function `do_test':
        tst-aio10.c:(.text+0x1b): undefined reference to `pthread_self'
        tst-aio10.c:(.text+0x78): undefined reference to `pthread_barrier_init'
        tst-aio10.c:(.text+0xf7): undefined reference to `pthread_create'
        tst-aio10.c:(.text+0x10b): undefined reference to `pthread_barrier_wait'
        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10.o:
 In function `tf':
        tst-aio10.c:(.text+0x5ae): undefined reference to `pthread_barrier_wait'
        tst-aio10.c:(.text+0x5ef): undefined reference to `pthread_kill'
        collect2: ld returned 1 exit status
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10]
 Error 1

  * `rt-tst-aio2`, `rt-tst-aio3`, `rt/tst-mqueue3`, `rt/tst-mqueue6`,
    `rt/tst-mqueue8`, `elf/tst-thrlock`, `rt/tst-timer3`

    Compilation: missing `pthread_attr_init`, `pthread_barrier_init`,
    `pthread_create`, etc.

  * `elf/tst-audit1`, `elf/tst-audit2`

    SIGKILL.

  * `inet/tst-ether_line`

        tst-ether_line.c:19: error: 'ETH_ALEN' undeclared (first use in this 
function)

  * `posix/tst-getaddrinfo`, `posix/tst-getaddrinfo2`, `posix/tst-getaddrinfo3`

        *** glibc detected *** 
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/posix/tst-getaddrinfo:
 free(): invalid pointer: 0x01026000 ***
        Didn't expect signal from child: got `Aborted'

  * `posix/tst-getconf`

        /bin/sh -e tst-getconf.sh 
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/ 
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/ 
ld.so.1
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/posix/tst-getconf.out]
 Error 127

  * `time/tst-mktime2`

        tst-mktime2.c:132: error: 'INT_MAX' undeclared (first use in this 
function)

  * `io/tst-readlinkat`

        
/media/erich/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker/io/tst-readlinkat.c:109:
 warning: warning: readlinkat is not implemented and will always fail

  * `gmon/tst-sprofil`

        Floating point exception

  * `posix/tst-sysconf`

        tst-sysconf.c:32: error: '_POSIX_PRIORITIZED_IO' undeclared here (not 
in a function)
        tst-sysconf.c:33: error: '_POSIX_PRIORITY_SCHEDULING' undeclared here 
(not in a function)
        tst-sysconf.c:43: error: '_POSIX_SPIN_LOCKS' undeclared here (not in a 
function)
        tst-sysconf.c:45: error: '_POSIX_SYNCHRONIZED_IO' undeclared here (not 
in a function)

  * `elf/tst-tls1`, `elf/tst-tls2`, `elf/tst-tls3`

        /usr/bin/ld: ^R: invalid DSO for symbol `___tls_get_addr@@GLIBC_2.3' 
definition
        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/ld.so.1:
 could not read symbols: Bad value
        collect2: ld returned 1 exit status
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/tst-tls3]
 Error 1

  * `elf/tst-tls10`, `elf/tst-tls11`, `elf/tst-tls12`

        /usr/bin/ld: ^O: invalid DSO for symbol `f6a' definition
        
/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/tst-tlsmod7.so:
 could not read symbols: Bad value
        collect2: ld returned 1 exit status
        make[2]: *** 
[/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/elf/tst-tls10]
 Error 1


Grüße,
 Thomas

Attachment: pgp0dRT2YADQZ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]