libarchive extattr i386/amd64 syscall issue

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Jun 4 01:07:26 UTC 2009


Hi!

The problem: on recent current, 32bit bsdtar won't write archives when
running under 64bit kernel, dying with exit code 140 and `Bad system call'
message. I've ran into that using i386 tinderbox jail on amd64 host.
The problem actually happens in libarchive:

--- lib/libarchive/archive_read_disk_entry_from_file.c ---
   484		if (!a->follow_symlinks)
   485			list_size = extattr_list_link(path, namespace, NULL, 0);   // <-- HERE
   486		else
   487			list_size = extattr_list_file(path, namespace, NULL, 0);
--- lib/libarchive/archive_read_disk_entry_from_file.c ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru


More information about the freebsd-current mailing list