Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate
Date: Wed, 19 Jul 2017 21:54:08
Message-Id: 11284992.EkZtO6Ysuk@dell_xps
In Reply to: Re: [gentoo-user] Re: [OT] Small and dirty 32 bit environment just to flash my Bus Pirate by Jorge Almeida
1 On Wednesday 19 Jul 2017 21:05:51 Jorge Almeida wrote:
2 > On Wed, Jul 19, 2017 at 8:28 PM, <tuxic@××××××.de> wrote:
3 > > #
4 > > # Executable file formats / Emulations
5 > > #
6 > > CONFIG_BINFMT_ELF=y
7 > > CONFIG_COMPAT_BINFMT_ELF=y
8 > > CONFIG_ELFCORE=y
9 > > CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
10 > > CONFIG_BINFMT_SCRIPT=y
11 > > # CONFIG_HAVE_AOUT is not set
12 > > CONFIG_BINFMT_MISC=y
13 > > CONFIG_COREDUMP=y
14 > > CONFIG_IA32_EMULATION=y
15 > > CONFIG_IA32_AOUT=y
16 > > CONFIG_X86_X32=y
17 > > CONFIG_COMPAT_32=y
18 > > CONFIG_COMPAT=y
19 > > CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
20 > > CONFIG_SYSVIPC_COMPAT=y
21 > > CONFIG_KEYS_COMPAT=y
22 > > CONFIG_X86_DEV_DMA_OPS=y
23 > > CONFIG_NET=y
24 > > CONFIG_COMPAT_NETLINK_MESSAGES=y
25 > > CONFIG_NET_INGRESS=y
26 >
27 > Looks good. I know for a fact that we can run a static 32 bit binary
28 > in a 64 bit gentoo, even without x32 support. I tried with a program I
29 > had compiled in a pure 32 bit system, but my program doesn't have any
30 > library as run-time dependency. Your pirate-loader_lnx seems to have
31 > strange requirements.
32 >
33 > I would install a 32 bit linux (e.g. Alpine). But you cannot be sure
34 > it provides whatever pirate-loader_lnx wants...
35 >
36 > Maybe you could post the output of "strace ./pirate_loader_lnx"? Maybe
37 > the authors assumed a path for something that Gentoo puts somewhere
38 > else? If so, a small forest of symlinks might do the job, lacking a
39 > better solution...
40 >
41 > (such assumptions are one of the marks of crappy sw, as in "everybody
42 > uses Windows, so...". Unfortunately, free sw may have the same faults,
43 > for example with s/Windows/Ubuntu/g)
44 >
45 >
46 > Cheers
47 >
48 > Jorge
49
50 The errors posted earlier showed libc.mo is missing ... e.g.
51
52 /usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo
53
54 Can you find the required files in your fs and are they 0644?
55 --
56 Regards,
57 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies