Project

General

Profile

Actions

Bug #2073

closed

linux emulation problem

Added by thomas.nikolajsen over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

On master linux emulation has problem after recent ELF update(*):
when linux_enable=YES is in rc.conf, '/etc/rc.d/abi start' fails:
it runs /compat/linux/sbin/ldconfig which fails;
as a side effect it resets the system clock to 1970.

suse_base-10.0nb3 is installed and supplies ldconfig above.

I found that setting ELF_ABI_number with brandelf(1), linux programs works:
linux ldconfig had a ELF_ABI_number of 0; setting it to 3 (Linux), with
'brandelf -f 3 ldconfig' is a work around for problem.

-thomas
  • last commit was d571622ee5ed8f5eb4da62d6b7b071d2a1f7ffef

$ file /compat/linux/sbin/ldconfig
/compat/linux/sbin/ldconfig: ELF 32-bit LSB executable, Intel 80386, version 1
(GNU/Linux), statically linked, for GNU/Linux 2.2.5, not stripped

Actions #1

Updated by marino over 13 years ago

I'll take a look soon.

Actions #2

Updated by marino over 13 years ago

Thomas,
Can you rebuild world from master head and let me know if this issue has been
resolved?

Actions #3

Updated by thomas.nikolajsen over 13 years ago

It works now, thank you.

Actions

Also available in: Atom PDF