Gentoo Archives: gentoo-user

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