diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-07-03 23:58:36 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-07-03 23:58:36 +0200 |
commit | ba568e7ceef45fb80c588b81710f93dd3d6bfd25 (patch) | |
tree | 4ed825362fa8786ca09a0e22b0141386b1569d1b | |
parent | 2f8880d2154cef27428b06be4e9856abc1bbcb1e (diff) |
open_issues/binutils: Update.
-rw-r--r-- | contributing/web_pages/news/moth_next.mdwn | 2 | ||||
-rw-r--r-- | open_issues/binutils.mdwn | 48 | ||||
-rw-r--r-- | open_issues/binutils/log_build.diff | 74 | ||||
-rw-r--r-- | open_issues/binutils/log_install.diff | 4 | ||||
-rw-r--r-- | open_issues/binutils/sum_hurd | 17 | ||||
-rw-r--r-- | open_issues/binutils/sum_linux | 17 | ||||
-rw-r--r-- | toolchain.mdwn | 2 | ||||
-rw-r--r-- | toolchain/elfosabi_gnu.mdwn | 32 | ||||
-rw-r--r-- | toolchain/elfosabi_hurd.mdwn | 83 | ||||
-rw-r--r-- | user/jkoenig/java.mdwn | 7 |
10 files changed, 87 insertions, 199 deletions
diff --git a/contributing/web_pages/news/moth_next.mdwn b/contributing/web_pages/news/moth_next.mdwn index 34c7e2f8..728804dc 100644 --- a/contributing/web_pages/news/moth_next.mdwn +++ b/contributing/web_pages/news/moth_next.mdwn @@ -41,4 +41,6 @@ And … <!--see [[contributing/web_pages/news/writing_the_moth]] for additional information on writing the MotH.--> + * [[toolchain/ELFOSABI_GNU]] + """]] diff --git a/open_issues/binutils.mdwn b/open_issues/binutils.mdwn index 5123a0d3..e654c53c 100644 --- a/open_issues/binutils.mdwn +++ b/open_issues/binutils.mdwn @@ -30,16 +30,8 @@ though, as explained below. # Configuration -Last reviewed up to the [[Git mirror's 38b56eda7ea117def3d5075110c0221fa1989878 -(2011-06-18) sources|source_repositories/binutils]]. - - * Open Issues - - * 51b2f560ad035dffad3371093f8e5c80608d196c: [[toolchain/ELFOSABI_HURD]]. - - * 0df7bac224004772a380db3e3b29933c16411940: restricts tests to - `*-*-linux*`. [Patch - posted](http://sourceware.org/ml/binutils/2011-06/msg00217.html). +Last reviewed up to the [[Git mirror's 57a1a9e822a763aeeb3ea66fd493aa58888c76c4 +(2011-07-03) sources|source_repositories/binutils]]. * Globally @@ -116,7 +108,7 @@ Last reviewed up to the [[Git mirror's 38b56eda7ea117def3d5075110c0221fa1989878 # Build Here's a log of a binutils build run; this is from our [[Git repository's -ab9f9e3e30d95fe653957ce5f554a01dcd453370 (2011-06-19) +6d4a384ae978b7a423f2cd51b396d366b9000df2 (2011-07-03) sources|source_repositories/binutils]], run on kepler.SCHWINGE and coulomb.SCHWINGE. @@ -175,28 +167,28 @@ This needs roughly 5 min on kepler.SCHWINGE, and 15 min on coulomb.SCHWINGE. Comparing the results files, [[sum_linux]] to [[sum_hurd]]: $ diff -u -F ^Running open_issues/binutils/sum_linux open_issues/binutils/sum_hurd - --- open_issues/binutils/sum_linux 2011-06-19 18:37:02.000000000 +0200 - +++ open_issues/binutils/sum_hurd 2011-06-19 20:40:21.000000000 +0200 + --- open_issues/binutils/sum_linux 2011-07-03 23:54:19.000000000 +0200 + +++ open_issues/binutils/sum_hurd 2011-07-03 23:54:25.000000000 +0200 @@ -1,5 +1,5 @@ - -Test Run By thomas on Sun Jun 19 18:26:46 2011 + -Test Run By thomas on Sun Jul 3 18:33:54 2011 -Native configuration is i686-pc-linux-gnu - +Test Run By thomas on Sun Jun 19 20:16:01 2011 + +Test Run By thomas on Sun Jul 3 19:11:49 2011 +Native configuration is i686-unknown-gnu0.3 === binutils tests === - @@ -117,8 +117,8 @@ Running [...]/hurd/master/binutils/tests + @@ -119,8 +119,8 @@ Running [...]/hurd/master/binutils/tests - # of expected passes 86 + # of expected passes 88 # of unsupported tests 2 - -Test Run By thomas on Sun Jun 19 18:27:17 2011 + -Test Run By thomas on Sun Jul 3 18:34:31 2011 -Native configuration is i686-pc-linux-gnu - +Test Run By thomas on Sun Jun 19 20:17:58 2011 + +Test Run By thomas on Sun Jul 3 19:14:02 2011 +Native configuration is i686-unknown-gnu0.3 === ld tests === - @@ -322,10 +322,10 @@ Running [...]/hurd/master/ld/testsuite/l + @@ -324,10 +324,10 @@ Running [...]/hurd/master/ld/testsuite/l PASS: PIE init array PASS: PIE fini array PASS: PIE init array mixed @@ -211,7 +203,7 @@ Comparing the results files, [[sum_linux]] to [[sum_hurd]]: Running [...]/hurd/master/ld/testsuite/ld-elf/exclude.exp ... PASS: ld link shared library PASS: ld export symbols from archive - @@ -579,8 +579,8 @@ Running [...]/hurd/master/ld/testsuite/l + @@ -581,8 +581,8 @@ Running [...]/hurd/master/ld/testsuite/l PASS: ELF DSO weak func last DSO PASS: ELF weak func first PASS: ELF weak func last @@ -222,7 +214,7 @@ Comparing the results files, [[sum_linux]] to [[sum_hurd]]: PASS: ELF DSO weak data first PASS: ELF DSO weak data last PASS: ELF DSO weak data first DSO - @@ -591,10 +591,10 @@ Running [...]/hurd/master/ld/testsuite/l + @@ -593,10 +593,10 @@ Running [...]/hurd/master/ld/testsuite/l PASS: ELF weak data last PASS: ELF weak data first common PASS: ELF weak data last common @@ -237,20 +229,20 @@ Comparing the results files, [[sum_linux]] to [[sum_hurd]]: PASS: ELF DSO small bar (size) PASS: ELF DSO foo with small bar (size) PASS: ELF DSO big bar (size) - @@ -921,13 +921,13 @@ Running [...]/hurd/master/ld/testsuite/l + @@ -924,13 +924,13 @@ Running [...]/hurd/master/ld/testsuite/l === ld Summary === - -# of expected passes 659 + -# of expected passes 660 -# of expected failures 8 - +# of expected passes 649 + +# of expected passes 650 +# of expected failures 18 # of untested testcases 6 - [...]/hurd/master.build/ld/ld-new 2.21.52.20110618 + [...]/hurd/master.build/ld/ld-new 2.21.52.20110703 - -Test Run By thomas on Sun Jun 19 18:26:56 2011 + -Test Run By thomas on Sun Jul 3 18:34:03 2011 -Native configuration is i686-pc-linux-gnu - +Test Run By thomas on Sun Jun 19 20:16:27 2011 + +Test Run By thomas on Sun Jul 3 19:12:21 2011 +Native configuration is i686-unknown-gnu0.3 === gas tests === diff --git a/open_issues/binutils/log_build.diff b/open_issues/binutils/log_build.diff index dbb9e2f6..0350d32a 100644 --- a/open_issues/binutils/log_build.diff +++ b/open_issues/binutils/log_build.diff @@ -1,5 +1,5 @@ ---- /dev/fd/63 2011-06-19 18:21:05.226518816 +0200 -+++ /dev/fd/62 2011-06-19 18:21:05.226518816 +0200 +--- /dev/fd/63 2011-07-03 19:28:40.826894462 +0200 ++++ /dev/fd/62 2011-07-03 19:28:40.830894333 +0200 @@ -276,12 +276,12 @@ checking for sys/sysinfo.h... yes checking for machine/hal_sysinfo.h... no @@ -50,12 +50,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -473,18 +473,18 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no +@@ -477,7 +477,7 @@ checking if gcc-4.6 supports -c -o file.o... yes checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes @@ -64,14 +59,6 @@ checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no - checking for dlopen... no - checking for dlopen in -ldl... yes - checking whether a program can dlopen itself... yes --checking whether a statically linked program can dlopen itself... no -+checking whether a statically linked program can dlopen itself... yes - checking whether stripping libraries is possible... yes - checking if libtool supports shared libraries... yes - checking whether to build shared libraries... no @@ -567,26 +567,26 @@ checking sys/procfs.h usability... yes checking sys/procfs.h presence... yes @@ -108,15 +95,6 @@ checking for win32_pstatus_t in sys/procfs.h... no checking linker --as-needed support... yes checking for cos in -lm... yes -@@ -601,7 +601,7 @@ - checking for unistd.h... (cached) yes - checking for getpagesize... (cached) yes - checking for working mmap... yes --checking for madvise... yes -+checking for madvise... no - checking for mprotect... yes - configure: updating cache ./config.cache - configure: creating ./config.status @@ -1219,36 +1219,15 @@ /bin/dash ./libtool --tag=CC --mode=compile gcc-4.6 -DHAVE_CONFIG_H -I. -I../../master/bfd -I. -I../../master/bfd -I../../master/bfd/../include -DHAVE_bfd_elf32_i386_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR='"[...]/hurd/master.build.install/bin"' -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT dwarf1.lo -MD -MP -MF .deps/dwarf1.Tpo -c -o dwarf1.lo ../../master/bfd/dwarf1.c libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I. -I../../master/bfd -I. -I../../master/bfd -I../../master/bfd/../include -DHAVE_bfd_elf32_i386_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"[...]/hurd/master.build.install/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT dwarf1.lo -MD -MP -MF .deps/dwarf1.Tpo -c ../../master/bfd/dwarf1.c -o dwarf1.o @@ -173,12 +151,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -1341,11 +1320,11 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no +@@ -1345,7 +1324,7 @@ checking if gcc-4.6 supports -c -o file.o... yes checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes @@ -196,13 +169,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -1516,12 +1495,12 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no - checking if gcc-4.6 supports -c -o file.o... yes +@@ -1521,7 +1500,7 @@ checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no @@ -220,13 +187,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -1983,12 +1962,12 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no - checking if gcc-4.6 supports -c -o file.o... yes +@@ -1988,7 +1967,7 @@ checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no @@ -244,13 +205,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -2237,12 +2216,12 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no - checking if gcc-4.6 supports -c -o file.o... yes +@@ -2242,7 +2221,7 @@ checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no @@ -268,13 +223,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -2477,12 +2456,12 @@ - checking if gcc-4.6 supports -fno-rtti -fno-exceptions... no - checking for gcc-4.6 option to produce PIC... -fPIC -DPIC - checking if gcc-4.6 PIC flag -fPIC -DPIC works... yes --checking if gcc-4.6 static flag -static works... yes -+checking if gcc-4.6 static flag -static works... no - checking if gcc-4.6 supports -c -o file.o... yes +@@ -2482,7 +2461,7 @@ checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no @@ -283,12 +232,7 @@ checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes -@@ -2494,11 +2473,11 @@ - checking whether the g++-4.6 linker (ld) supports shared libraries... yes - checking for g++-4.6 option to produce PIC... -fPIC -DPIC - checking if g++-4.6 PIC flag -fPIC -DPIC works... yes --checking if g++-4.6 static flag -static works... yes -+checking if g++-4.6 static flag -static works... no +@@ -2498,7 +2477,7 @@ checking if g++-4.6 supports -c -o file.o... yes checking if g++-4.6 supports -c -o file.o... (cached) yes checking whether the g++-4.6 linker (ld) supports shared libraries... yes diff --git a/open_issues/binutils/log_install.diff b/open_issues/binutils/log_install.diff index f808a160..83e01c55 100644 --- a/open_issues/binutils/log_install.diff +++ b/open_issues/binutils/log_install.diff @@ -1,5 +1,5 @@ ---- /dev/fd/63 2011-06-19 18:21:13.210325860 +0200 -+++ /dev/fd/62 2011-06-19 18:21:13.210325860 +0200 +--- /dev/fd/63 2011-07-03 19:28:49.538615011 +0200 ++++ /dev/fd/62 2011-07-03 19:28:49.538615011 +0200 @@ -68,7 +68,6 @@ libtool: install: /usr/bin/install -c .libs/libbfd.a [...]/hurd/master.build.install/lib/libbfd.a libtool: install: chmod 644 [...]/hurd/master.build.install/lib/libbfd.a diff --git a/open_issues/binutils/sum_hurd b/open_issues/binutils/sum_hurd index b7368648..42f4d331 100644 --- a/open_issues/binutils/sum_hurd +++ b/open_issues/binutils/sum_hurd @@ -1,4 +1,4 @@ -Test Run By thomas on Sun Jun 19 20:16:01 2011 +Test Run By thomas on Sun Jul 3 19:11:49 2011 Native configuration is i686-unknown-gnu0.3 === binutils tests === @@ -50,10 +50,12 @@ PASS: objcopy --adjust-start PASS: objcopy --adjust-vma PASS: objcopy --adjust-section-vma + PASS: objcopy --adjust-section-vma = +PASS: strip preserving OS/ABI PASS: strip PASS: strip with saving a symbol PASS: simple objcopy of executable PASS: run objcopy of executable +PASS: run stripped executable preserving OS/ABI PASS: run stripped executable PASS: run stripped executable with saving a symbol PASS: keep only debug data @@ -115,9 +117,9 @@ Running [...]/hurd/master/binutils/testsuite/binutils-all/x86-64/x86-64.exp ... === binutils Summary === -# of expected passes 86 +# of expected passes 88 # of unsupported tests 2 -Test Run By thomas on Sun Jun 19 20:17:58 2011 +Test Run By thomas on Sun Jul 3 19:14:02 2011 Native configuration is i686-unknown-gnu0.3 === ld tests === @@ -653,6 +655,7 @@ PASS: ld-i386/nogot1 PASS: ld-i386/nogot2 PASS: ld-i386/discarded1 PASS: PR ld/12718 +PASS: PR ld/12921 PASS: undefined symbol with compressed debug sections PASS: PR ld/12627 Running [...]/hurd/master/ld/testsuite/ld-ia64/ia64.exp ... @@ -921,12 +924,12 @@ Running [...]/hurd/master/ld/testsuite/ld-xtensa/xtensa.exp ... === ld Summary === -# of expected passes 649 +# of expected passes 650 # of expected failures 18 # of untested testcases 6 -[...]/hurd/master.build/ld/ld-new 2.21.52.20110618 +[...]/hurd/master.build/ld/ld-new 2.21.52.20110703 -Test Run By thomas on Sun Jun 19 20:16:27 2011 +Test Run By thomas on Sun Jul 3 19:12:21 2011 Native configuration is i686-unknown-gnu0.3 === gas tests === @@ -1394,5 +1397,5 @@ Running [...]/hurd/master/gas/testsuite/gas/z8k/z8k.exp ... === gas Summary === # of expected passes 342 -../as-new 2.21.52.20110618 +../as-new 2.21.52.20110703 diff --git a/open_issues/binutils/sum_linux b/open_issues/binutils/sum_linux index f1a383b8..4e37f06c 100644 --- a/open_issues/binutils/sum_linux +++ b/open_issues/binutils/sum_linux @@ -1,4 +1,4 @@ -Test Run By thomas on Sun Jun 19 18:26:46 2011 +Test Run By thomas on Sun Jul 3 18:33:54 2011 Native configuration is i686-pc-linux-gnu === binutils tests === @@ -50,10 +50,12 @@ PASS: objcopy --adjust-start PASS: objcopy --adjust-vma PASS: objcopy --adjust-section-vma + PASS: objcopy --adjust-section-vma = +PASS: strip preserving OS/ABI PASS: strip PASS: strip with saving a symbol PASS: simple objcopy of executable PASS: run objcopy of executable +PASS: run stripped executable preserving OS/ABI PASS: run stripped executable PASS: run stripped executable with saving a symbol PASS: keep only debug data @@ -115,9 +117,9 @@ Running [...]/hurd/master/binutils/testsuite/binutils-all/x86-64/x86-64.exp ... === binutils Summary === -# of expected passes 86 +# of expected passes 88 # of unsupported tests 2 -Test Run By thomas on Sun Jun 19 18:27:17 2011 +Test Run By thomas on Sun Jul 3 18:34:31 2011 Native configuration is i686-pc-linux-gnu === ld tests === @@ -653,6 +655,7 @@ PASS: ld-i386/nogot1 PASS: ld-i386/nogot2 PASS: ld-i386/discarded1 PASS: PR ld/12718 +PASS: PR ld/12921 PASS: undefined symbol with compressed debug sections PASS: PR ld/12627 Running [...]/hurd/master/ld/testsuite/ld-ia64/ia64.exp ... @@ -921,12 +924,12 @@ Running [...]/hurd/master/ld/testsuite/ld-xtensa/xtensa.exp ... === ld Summary === -# of expected passes 659 +# of expected passes 660 # of expected failures 8 # of untested testcases 6 -[...]/hurd/master.build/ld/ld-new 2.21.52.20110618 +[...]/hurd/master.build/ld/ld-new 2.21.52.20110703 -Test Run By thomas on Sun Jun 19 18:26:56 2011 +Test Run By thomas on Sun Jul 3 18:34:03 2011 Native configuration is i686-pc-linux-gnu === gas tests === @@ -1394,5 +1397,5 @@ Running [...]/hurd/master/gas/testsuite/gas/z8k/z8k.exp ... === gas Summary === # of expected passes 342 -../as-new 2.21.52.20110618 +../as-new 2.21.52.20110703 diff --git a/toolchain.mdwn b/toolchain.mdwn index 0059317b..26144cc3 100644 --- a/toolchain.mdwn +++ b/toolchain.mdwn @@ -26,7 +26,7 @@ for GNU/Linux. --- - * [[ELFOSABI_HURD]] + * [[ELFOSABI_GNU]] --- diff --git a/toolchain/elfosabi_gnu.mdwn b/toolchain/elfosabi_gnu.mdwn new file mode 100644 index 00000000..76711e3b --- /dev/null +++ b/toolchain/elfosabi_gnu.mdwn @@ -0,0 +1,32 @@ +[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="ELFOSABI_GNU"]] + +GNU/Hurd uses the `ELFOSABI_GNU` value for operating system/ABI identification. +This is shared with GNU/Linux. + + +# History + + * [[!debbug 630180]] + * [sourceware bug + 12913](http://sourceware.org/bugzilla/show_bug.cgi?id=12913) + * [libc-alpha + thread](http://sourceware.org/ml/libc-alpha/2011-06/threads.html#00087) + ([continues](http://sourceware.org/ml/libc-alpha/2011-07/threads.html#00031)) + * [bug-hurd + thread](http://lists.gnu.org/archive/html/bug-hurd/2011-06/threads.html#00060) + ([continues](http://lists.gnu.org/archive/html/bug-hurd/2011-07/threads.html#00020)) + * [generic-abi + thread](http://groups.google.com/group/generic-abi/browse_frm/thread/194697b94a189063) + * [binutils + thread](http://sourceware.org/ml/binutils/2011-06/threads.html#00218) + ([continues](http://sourceware.org/ml/binutils/2011-07/threads.html#00033)) diff --git a/toolchain/elfosabi_hurd.mdwn b/toolchain/elfosabi_hurd.mdwn deleted file mode 100644 index 4d60f761..00000000 --- a/toolchain/elfosabi_hurd.mdwn +++ /dev/null @@ -1,83 +0,0 @@ -[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="ELFOSABI_HURD"]] - -[[!tag open_issue_binutils open_issue_glibc]] - - -# [[!debbug 630180]] - - -# [[open_issues/binutils]] commit 51b2f560ad035dffad3371093f8e5c80608d196c - -Usage of `ELFOSABI_LINUX`/`STB_GNU_UNIQUE`. Has also been wrong before already -with respect to `STT_GNU_IFUNC`? - - -# IRC - -IRC, freenode, #debian-hurd, 2011-06-11 - - <pinotree> youpi: not that there would be any hope in that, but id you try - asking doko about the gcc miscompiling (wrong elf format) issue? - <youpi> I didn't - <youpi> I'm still investigating - <youpi> maybe it's a binutils change actually - <pinotree> youpi: hm, are you sure it could be binutils? after all, even - some .o files are produced with format gnu/linux, so there's no binutils - involved up to that point of thecompilation yet? - <youpi> as is - <youpi> "as", I mean - <pinotree> i see - <youpi> since it's so unclear, I really prefer to investigate before - bothering doko - <pinotree> youpi: maybe i could be wrong, - <pinotree> in binutils, bfd/elf.c, around lines 9580 - <youpi> the faulty thing seems to be gnu_unique_object in the source .s - file produced by g++ - <pinotree> that's what that comment (which changed wrt binutils from eg - march) says - <youpi> seems to concur with my comment above :) - <pinotree> http://paste.debian.net/119542/ ¡û extract of diff - <youpi> ok, that really seems the culprit - <youpi> starting reportbug - <pinotree> who's the fault then? - <youpi> binutils - <youpi> it shouldn't hardcode LINUX - <pinotree> g++ emitting those symbols, or binutil considering them "linux"? - <youpi> it's a GNU thing, not a Linux thing - <pinotree> ah ok - <youpi> it's the same dynamic linker actually - <pinotree> youpi: http://sourceware.org/bugzilla/show_bug.cgi?id=10549 - <pinotree> see the reporter :) - <youpi> heh - <pinotree> youpi: see also gas/config/obj-elf.c:1725 - <pinotree> (another change related to that bug, it seems) - -IRC, freenode, #hurd, 2011-06-15 - - <jkoenig> also I still get an "ELF file OS ABI invalid" error with binutils - 2.21.52.20110606-2+hurd.1, is that expected? - <youpi> tschwinge: oops, the OS ABI invalid is actually due to the file - being marked GNU/Hurd - <youpi> I guess the linker is simply not aware that it should accept - GNU/Hurd - <tschwinge> youpi: So we got to work on glibc'S ld.so to teach it aboput - the Hurd OS ABI? (Or probably simply make that equivalent to the Linux - one?) - <youpi> probably simply an equivalent - <youpi> ELFOSABI_HURD is missing from elf/elf.h, for a start... - <youpi> linux' glibc has tests in lsdodefs.h - <youpi> the VALID_ELF_OSABI macro - <youpi> it's thus apparently a matter of providing an ldsodefs.h file with - VALID_ELF_HEADER, VALID_ELF_OSABI and VALID_ELF_ABIVERSION definitions - <youpi> (and include_next the generic one) - <youpi> I've prepared a patch for ldsodefs.h, I'll test it diff --git a/user/jkoenig/java.mdwn b/user/jkoenig/java.mdwn index 868dec2b..2285c89f 100644 --- a/user/jkoenig/java.mdwn +++ b/user/jkoenig/java.mdwn @@ -182,7 +182,7 @@ by building on [[pochu]]'s `file_exec_file_name()` I have succeeded in building a Hotspot-enabled `libjvm.so`, although the current toolchain issues -([[toolchain/ELFOSABI_HURD]]) +([[toolchain/ELFOSABI_GNU]]; 2011-07-03: fix committed in binutils) have so far prevented me from testing it. > It turns out the build fails later on in `hotspot/agent` @@ -202,11 +202,6 @@ have so far prevented me from testing it. * Assuming it is, continue with getting `$ORIGIN` working. - * [!] [[Samuel|samuelthibault]]/[[tschwinge]]/[[jkoenig]]: - [[toolchain/ELFOSABI_HURD]]. - - * 2011-06-29: No progress. - * `libthread_db.so` issue. Likely, the Serviceability Agent is used by jdb and the like only, so for now the goal should be to lose some functionality by removing/avoiding this dependency. |