* Quick confirmation about multilib
@ 2018-12-12 16:53 Nicholas Tsirakis
2018-12-12 17:04 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Tsirakis @ 2018-12-12 16:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
Hello,
I'm trying to build a 32-bit toolchain for my 64-bit image using multilib
and was hoping someone could confirm something for me. I am seeing issues
when building lib32-glibc, and I can't tell if it's attempting to build
properly. The resulting build files are created in a folder called
"x86_64-oemllib32-..." - is this correct? Or should it be "x86-oemllib32"
being that it's a 32-bit library?
Based on the build errors I'm seeing I'm getting the feeling that it's
trying to build a 64-bit toolchain in a 32-bit environment, so if someone
could clear this up I would really appreciate it. Thanks,
--Niko
[-- Attachment #2: Type: text/html, Size: 772 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quick confirmation about multilib
2018-12-12 16:53 Quick confirmation about multilib Nicholas Tsirakis
@ 2018-12-12 17:04 ` Burton, Ross
2018-12-12 17:16 ` Nicholas Tsirakis
0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2018-12-12 17:04 UTC (permalink / raw)
To: niko.tsirakis; +Cc: Yocto-mailing-list
On Wed, 12 Dec 2018 at 16:59, Nicholas Tsirakis <niko.tsirakis@gmail.com> wrote:
> I'm trying to build a 32-bit toolchain for my 64-bit image using multilib and was hoping someone could confirm something for me. I am seeing issues when building lib32-glibc, and I can't tell if it's attempting to build properly. The resulting build files are created in a folder called "x86_64-oemllib32-..." - is this correct? Or should it be "x86-oemllib32" being that it's a 32-bit library?
Can you clarify here was should be 32-bit and what should be 64-bit?
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quick confirmation about multilib
2018-12-12 17:04 ` Burton, Ross
@ 2018-12-12 17:16 ` Nicholas Tsirakis
2018-12-26 9:41 ` Kang Kai
0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Tsirakis @ 2018-12-12 17:16 UTC (permalink / raw)
To: ross.burton; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]
Sure, thanks for the reply. The image itself should is 64 bit and I want to
add an additional toolchain to my image that can run 32-bit binaries. I am
trying to build a 32-bit glibc that will be part of this toolchain.
Now, when I go to build, there is a new folder that got created in
tmp-glibc for the lib32-* files:
tmp-glibc/work/x86-oemllib32-linux/lib32-*
and upon entering the lib32-glibc folder, I'm seeing this:
tmp-glibc/work/x86-oemllib32-linux/lib32-glibc/2.25-r0/build-x86_64-oemllib32-linux/
I'm just not sure if that "x86_64" in the build folder name is correct. I
may be doing something entirely wrong as well; this is my first time using
multilib. As an FYI, I have the following to my local.conf:
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
Any clarification is appreciated.
On Wed, Dec 12, 2018 at 12:04 PM Burton, Ross <ross.burton@intel.com> wrote:
> On Wed, 12 Dec 2018 at 16:59, Nicholas Tsirakis <niko.tsirakis@gmail.com>
> wrote:
> > I'm trying to build a 32-bit toolchain for my 64-bit image using
> multilib and was hoping someone could confirm something for me. I am seeing
> issues when building lib32-glibc, and I can't tell if it's attempting to
> build properly. The resulting build files are created in a folder called
> "x86_64-oemllib32-..." - is this correct? Or should it be "x86-oemllib32"
> being that it's a 32-bit library?
>
> Can you clarify here was should be 32-bit and what should be 64-bit?
>
> Ross
>
[-- Attachment #2: Type: text/html, Size: 2132 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Quick confirmation about multilib
2018-12-12 17:16 ` Nicholas Tsirakis
@ 2018-12-26 9:41 ` Kang Kai
0 siblings, 0 replies; 4+ messages in thread
From: Kang Kai @ 2018-12-26 9:41 UTC (permalink / raw)
To: Nicholas Tsirakis, ross.burton; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]
On 2018/12/13 上午1:16, Nicholas Tsirakis wrote:
> Sure, thanks for the reply. The image itself should is 64 bit and I
> want to add an additional toolchain to my image that can run 32-bit
> binaries. I am trying to build a 32-bit glibc that will be part of
> this toolchain.
>
> Now, when I go to build, there is a new folder that got created in
> tmp-glibc for the lib32-* files:
>
> tmp-glibc/work/x86-oemllib32-linux/lib32-*
>
> and upon entering the lib32-glibc folder, I'm seeing this:
>
> tmp-glibc/work/x86-oemllib32-linux/lib32-glibc/2.25-r0/build-x86_64-oemllib32-linux/
>
> I'm just not sure if that "x86_64" in the build folder name is correct.
Hi Nicholas,
It seems not right that it should be "build-i686-pokymllib32-linux". Do
you have any other config? And do you use Yocto
that your TARGET_VENDOR is 'oe' but the default value is 'poky'. And
please check var TARGET_SYS from output of 'bitbake -e',
you may find where "x86_64" is from.
Regards,
Kai
> I may be doing something entirely wrong as well; this is my first time
> using multilib. As an FYI, I have the following to my local.conf:
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>
> Any clarification is appreciated.
>
> On Wed, Dec 12, 2018 at 12:04 PM Burton, Ross <ross.burton@intel.com
> <mailto:ross.burton@intel.com>> wrote:
>
> On Wed, 12 Dec 2018 at 16:59, Nicholas Tsirakis
> <niko.tsirakis@gmail.com <mailto:niko.tsirakis@gmail.com>> wrote:
> > I'm trying to build a 32-bit toolchain for my 64-bit image using
> multilib and was hoping someone could confirm something for me. I
> am seeing issues when building lib32-glibc, and I can't tell if
> it's attempting to build properly. The resulting build files are
> created in a folder called "x86_64-oemllib32-..." - is this
> correct? Or should it be "x86-oemllib32" being that it's a 32-bit
> library?
>
> Can you clarify here was should be 32-bit and what should be 64-bit?
>
> Ross
>
>
--
Kai Kang
[-- Attachment #2: Type: text/html, Size: 4445 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-26 9:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 16:53 Quick confirmation about multilib Nicholas Tsirakis
2018-12-12 17:04 ` Burton, Ross
2018-12-12 17:16 ` Nicholas Tsirakis
2018-12-26 9:41 ` Kang Kai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.