Skip to content

Issue building armv5te-linux-gnueapi with different glibc version #1152

Answered by Alexhuszagh
RedIODev asked this question in Q&A
Discussion options

You must be logged in to vote

We've never supported anything under Ubuntu 18.04 for this target, but if you use Ubuntu 16.04, it comes with glibc 2.23 for the armel targets. Your Dockerfile then would be something like this:

FROM ubuntu:16.04
ARG DEBIAN_FRONTEND=noninteractive

COPY common.sh lib.sh /
RUN /common.sh

COPY cmake.sh /
RUN /cmake.sh

COPY xargo.sh /
RUN /xargo.sh

RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
    g++-arm-linux-gnueabi \
    crossbuild-essential-armel \
    libc6-dev-armel-cross

COPY deny-debian-packages.sh /
RUN TARGET_ARCH=armel /deny-debian-packages.sh \
    binutils \
    binutils-arm-linux-gnueabi

# Qemu is disabled since we've changed the scripts to …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@RedIODev
Comment options

@Emilgardis
Comment options

@Emilgardis
Comment options

@RedIODev
Comment options

@Alexhuszagh
Comment options

Answer selected by Alexhuszagh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants