From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F1E4C433FE for ; Tue, 12 Apr 2022 19:40:49 +0000 (UTC) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by mx.groups.io with SMTP id smtpd.web11.154.1649783530975698276 for ; Tue, 12 Apr 2022 10:12:11 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: gmail.com, ip: 209.85.222.174, mailfrom: ek5.chimenti@gmail.com) Received: by mail-qk1-f174.google.com with SMTP id 3so6801383qkj.5 for ; Tue, 12 Apr 2022 10:12:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=3LLBTKdiannmL5j1hs0X/lfhSPh33zNjfhYBDqfNAyo=; b=SjzYtBwUJI/OMBCYhLXprrZZxkNeZlbe3vIF5GFdsvc8LL4WV6VaOKfIZ88xcT1X9j u+44o9RAPrXzKKeQS60hPh/sOXRlduE5HG3z+iVQ07h3NvXPjVholHscNLaPKN69FziZ bK25oPByZs5FGlD70RDOBhEM6uw4qYJehnEZsCZTILsXiQUeuMbGyGnNOoOtCoy2OEgk DD8n/yd5TD3RdAyKxbvKts2FvL4kdD/v+iacPXRg/cUWKyj8+uMSGXWiSgXvwerWn78W C03y2qCgqM7uJoUvh8fGqVaOcrhoKnqBUBhiaprHQvOdC6HZOwMipdKmDKEsbZhkJubx t0+A== X-Gm-Message-State: AOAM533+gEkejxW/AxyKIA6ciGyNDvVy7xvUOdPp0hNhtDbxqwMPGSSI dIvbav6tz+6ZzN4ZNN5A3THehjIFFKw= X-Google-Smtp-Source: ABdhPJyEbZxWOpwAd428U+ebnfmWx+jBCFT5TTa0SdV4zyouhJU2NFpHVn5jbqddk4WRIlMxG6OUvg== X-Received: by 2002:a05:620a:40c8:b0:67d:a9d3:f412 with SMTP id g8-20020a05620a40c800b0067da9d3f412mr3990175qko.183.1649783529756; Tue, 12 Apr 2022 10:12:09 -0700 (PDT) Received: from X1C7EK5 ([93.187.26.29]) by smtp.gmail.com with ESMTPSA id c7-20020a37e107000000b0069c126c5107sm4521909qkm.39.2022.04.12.10.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 10:12:09 -0700 (PDT) Date: Tue, 12 Apr 2022 19:12:05 +0200 From: Ettore Chimenti To: meta-freescale@lists.yoctoproject.org Cc: natalia.kovalenko@seco.com Subject: Cairo fails to compile with musl #kirkstone #compilation Message-ID: <20220412171205.d6wqqaizobj7bcp5@X1C7EK5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 12 Apr 2022 19:40:49 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24832 When compiling `cairo_1.16.0` recipe with musl-1.2.2, linking fails complaining missing references to `GLIBC_2.17`. e.g: ``` libGAL.so: undefined reference to `connect@GLIBC_2.17' ``` Seems that pre-compiled libraries from `imx-gpu-viv` are compiled against GLIBC libraries only. There is a known way to make the recipe compile with `musl` toolchain as well? Using meta-freescale `master` branch. Raw logs of a full bitbake build image for imx8mm target in Oniro Project: https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/jobs/12690 Thanks, Ettore