Skip to contentSkip to conversation

Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

PATCH In review Sander Eikelenboom 3 participants 6 messages Oct 6, 2015 – Oct 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Libc multiarch package as build prerequisites on 64-bit platforms to the README

When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build.

---
 README | 3 +++
 1 file changed, 3 insertions(+)
README +3 -0
index a7d0033..1324c7c 100644
@@ -56,6 +56,9 @@ provided by your OS distributor:
     * GNU gettext
     * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 & bcc debs)
     * ACPI ASL compiler (iasl)
+    * Libc multiarch package (e.g. libc6-dev-i386 / glibc-devel.i686).
+      Required when building on a 64-bit platform to build
+      32-bit components which are enabled on a default build.
 
 In addition to the above there are a number of optional build
 prerequisites. Omitting these will cause the related features to be
Signature · 1 line
2.1.4
#1 lore raw

CC people from ./get_maintainers.pl

Quoted 24 lines · Sander Eikelenboom

When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build.

---
 README | 3 +++
 1 file changed, 3 insertions(+)
README +3 -0
index a7d0033..1324c7c 100644
@@ -56,6 +56,9 @@ provided by your OS distributor:
     * GNU gettext
     * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 & bcc debs)
     * ACPI ASL compiler (iasl)
+    * Libc multiarch package (e.g. libc6-dev-i386 / glibc-devel.i686).
+      Required when building on a 64-bit platform to build
+      32-bit components which are enabled on a default build.
 
 In addition to the above there are a number of optional build
 prerequisites. Omitting these will cause the related features to be
Signature · 1 line
2.1.4
#3 lore raw
Quoted 7 lines · Ian Campbell
Quoted 4 lines · Sander Eikelenboom

When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build.

Acked + applied, thanks.

Thanks.
There also seems to be a little inconsistency on the wiki on page:
http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source

The list of packages for yum (Redhat/Fedora) already includes glibc-devel.i686, however the list of apt-get (Debian) packages doesn't include the libc multiarch package yet.

(Don't think i have any wiki access any more, or at least i can't remember the login)

--
Sander

#4 lore raw
Quoted 9 lines · Sander Eikelenboom
Quoted 7 lines · Ian Campbell
Quoted 4 lines · Sander Eikelenboom

When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build.

Acked + applied, thanks.

Quoted 9 lines

Thanks.
There also seems to be a little inconsistency on the wiki on page:
http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source

The list of packages for yum (Redhat/Fedora) already includes glibc-devel.i686,
however the list of apt-get (Debian) packages doesn't include the libc multiarch package yet.

Fixed.

Quoted 5 lines

(Don't think i have any wiki access any more, or at least i can't remember the login)

--
Sander

#5 lore raw
In reply to Sander Eikelenboom
Quoted 13 lines · Sander Eikelenboom

When building on 64-bit platforms this prevents build errors for 32-bit components which are enabled on a default build.

---
 README | 3 +++
 1 file changed, 3 insertions(+)
README +0 -0
index a7d0033..1324c7c 100644

README provided by your OS distributor: · line 60

Quoted 5 lines
README +1 -0
@@ -56,6 +56,9 @@ provided by your OS distributor:
     * GNU gettext
     * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 &
 bcc debs)
     * ACPI ASL compiler (iasl)
+    * Libc multiarch package (e.g. libc6-dev-i386 / glibc-devel.i686).

BTW, to be completely pedantic these are "biarch" packages.

Under Debian the "multiarch" package would be libc6-dev:i386 and you would need to have run "dpkg --add-architecture=i386" at some point.

libc6-dev:i386 is the actual dev package from the i386 repository as opposed to a special libc6-dev-i386 in the amd64 repository.

I don't believe the RPM world has anything equivalent to multiarch.

I'm not proposing we change anything though and I think libc6-dev-i386 is the right thing to be recommending for the time being.

Ian.