aboutsummaryrefslogtreecommitdiff
path: root/open_issues
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-10-07 21:38:30 +0200
committerThomas Schwinge <thomas@codesourcery.com>2015-10-07 21:38:30 +0200
commitb4c22bb08fa29f2747e3b77004821d2e9badb7e6 (patch)
tree66cf904cd6b93ffd1893a19a955ca01798373bdd /open_issues
parent095af72d2c6cf6269d2b139634183e7e53033a54 (diff)
parenta26cfb9c30ab60ca71d84f86d002b718f351efdc (diff)
downloadweb-b4c22bb08fa29f2747e3b77004821d2e9badb7e6.tar.gz
web-b4c22bb08fa29f2747e3b77004821d2e9badb7e6.tar.bz2
web-b4c22bb08fa29f2747e3b77004821d2e9badb7e6.zip
Merge commit 'a26cfb9c30ab60ca71d84f86d002b718f351efdc'
Diffstat (limited to 'open_issues')
-rw-r--r--open_issues/glibc/static.mdwn34
-rw-r--r--open_issues/problematic_packages.mdwn12
2 files changed, 38 insertions, 8 deletions
diff --git a/open_issues/glibc/static.mdwn b/open_issues/glibc/static.mdwn
new file mode 100644
index 00000000..26076a5e
--- /dev/null
+++ b/open_issues/glibc/static.mdwn
@@ -0,0 +1,34 @@
+[[!meta copyright="Copyright © 2015 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]]."]]"""]]
+
+[[!tag open_issue_glibc]]
+
+statically-linked executables don't work with i686 libc (which happens to be the default), from the 2015 glibc tarball:
+
+ ../configure --prefix=/ --enable-add-ons=libpthread --enable-pt_chown --disable-nscd CFLAGS=-O2
+ make lib
+ make -C ../mach objdir=$PWD subdir=mach ..=../
+ make -C ../hurd objdir=$PWD subdir=hurd ..=../
+
+ # create a test.c
+ gcc test.c -o test.o -c
+ gcc test.o -o test -static -v
+
+the last command gives
+
+ /usr/lib/gcc/i586-gnu/4.9/collect2 -plugin /usr/lib/gcc/i586-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i586-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccBtYgpy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/ --build-id -m elf_i386 --hash-style=gnu -static -o test /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crt0.o /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crti.o /usr/lib/gcc/i586-gnu/4.9/crtbeginT.o -L/usr/lib/gcc/i586-gnu/4.9 -L/usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu -L/usr/lib/gcc/i586-gnu/4.9/../../.. -L/lib/i386-gnu -L/usr/lib/i386-gnu test.o --start-group -lgcc -lgcc_eh -lc --end-group /usr/lib/gcc/i586-gnu/4.9/crtend.o /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crtn.o
+
+thus using the following to statically link against the just-build glibc:
+
+ BUILD=/path/to/glibc-2.19-hurd+libpthread-20150515/build /usr/lib/gcc/i586-gnu/4.9/collect2 -plugin /usr/lib/gcc/i586-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i586-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDjhjdt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/ --build-id -m elf_i386 --hash-style=gnu -static -o test $BUILD/csu/crt0.o $BUILD/csu/crti.o /usr/lib/gcc/i586-gnu/4.9/crtbeginT.o -L/usr/lib/gcc/i586-gnu/4.9 -L/usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu -L/usr/lib/gcc/i586-gnu/4.9/../../.. -L/lib/i386-gnu -L/usr/lib/i386-gnu test.o --start-group -lgcc -lgcc_eh $BUILD/libc.a $BUILD/hurd/libhurduser.a $BUILD/mach/libmachuser.a --end-group /usr/lib/gcc/i586-gnu/4.9/crtend.o $BUILD/csu/crtn.o
+
+And then ./test gets killed early during libc initialization.
+
+Passing --host=i586-gnu --build=i586-gnu fixes the kill, so the issue is most probably in some i686-specific file.
diff --git a/open_issues/problematic_packages.mdwn b/open_issues/problematic_packages.mdwn
index d55dac8e..b4784e59 100644
--- a/open_issues/problematic_packages.mdwn
+++ b/open_issues/problematic_packages.mdwn
@@ -12,22 +12,18 @@ License|/fdl]]."]]"""]]
[[!tag open_issue_gnumach open_issue_hurd]]
-This page lists the few packages whose build makes the Debian buildd box crash as of 2014, November 1st:
+This page lists the few packages whose build makes the Debian buildd box crash as of 2015, August:
* Kill pfinet
* [[nbd|hurd/libstore/nbd_store]]
- * socklog
+ * rsyslog
* Kill the session
- * idzebra
* ruby-hiredis
* libxs
-* Out of memory
+* ext2fs gets stuck
- * php-yac
- * gnu-smalltalk
- * globus-gram-job-manager
- * mozjs24
+ * emacs24