From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2d.google.com (mail-oo1-xc2d.google.com [IPv6:2607:f8b0:4864:20::c2d]) by sourceware.org (Postfix) with ESMTPS id 1F1163858C78 for ; Tue, 28 May 2024 06:18:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1F1163858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1F1163858C78 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::c2d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716877122; cv=none; b=TXbqYaTpLwb/0NsBAKWF3RZ/K93+Yr39GHVb1DWLnQLl8vnWXjlAdf7AN+CMqC4CNp+XvYCdktU//U7QPRp1JyPhIYyvxpf1NDh9FDJw3ON5G/KYPUTMzgK2AbuBIH4v+YbKfkQOzMkQkyJRjGLQMwakCFpzoiXECRuEO8lW41g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716877122; c=relaxed/simple; bh=JsNJG0FsbQpocx4JOLUsNRcqNaBanyxmDLTZM4RoPXM=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=dzEQOlK3KA3DoazKwGsWfTGOnjTEW7JKp5d+M68fANXDWTq5W7w924Td6STrpqi5lML3OdpEMxWqs2XYa1JVm4Hd0cvgIvptnXKKpXk86pcXCNZynr595FkkpZuipPJ4mFGfDovY9jloPvyp6MpJYhmewCxqmrHXd1G3YdtmUrg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5b9817a135aso248953eaf.0 for ; Mon, 27 May 2024 23:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716877120; x=1717481920; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DLCsGPDu1K281FzmOT3Tl9Z2T9dLb/gMc5+OmXVNnnc=; b=juSlS2NgwWKKXn8sE2dVsR0Dak5R0terdt33ehE6EBG5RkBATLOrEnzMcSbHmKVJFh kBjf6Qw9tzlWQfWZuFOdWM80RZQQw81Fum5oGTr7QDsR5YS+hxcKqX+noC4I0gHLx5tX VBb6QVTQzAjnLHGtZJ1+hOPbF35lakPdni7D9OW957FWnN32v2hs1lH6+v6PqkNkgffy 3vWNjIvSf0F4/NdSqxRevsk8u54o4aidXcx+WvOK8GukKAZlC7ftW1bzozNSCGzZFN0y cPFlIkCj+cNDvAz/o7DB2j/OLbKwPi0JUAULCmK9Yi95j5hsVEQM2cmCuI4NRHCureWH 15ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716877120; x=1717481920; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DLCsGPDu1K281FzmOT3Tl9Z2T9dLb/gMc5+OmXVNnnc=; b=mQW9xhSI1sdUiZVINMEG9bsjYm1YKt16LfnV3Q309Xh8uTMV4pLDTOIzNmkEE2sC9J 1tLceQ3LedCxMvy/fUNduovD766tu+R82iZghdEgwaBUcH58E8eSIlH2OpZkbmfClEcm M1wdHcxkvf2ua2QZAYsDTGPVa5/wFlz7z1uhS5GQ/15nK+3p0+Tq6J0MZ5QhtcigJIp5 yhDhfgjQJHOowNPZAKFfmpdzABmO2X3LIDxVkIOqoLntqp9Eivf8DOPTLYKoH2L7efKS jTuzLC77y7+Pi+O6+LYuUAyfB+9tsC8pAzm19VSSvCBWYqZ/fQY5vK/pBiiMm1WzaUfp BFGg== X-Forwarded-Encrypted: i=1; AJvYcCXb5aj08Iu9M5WXHHQH1tmyHNK/rlr+wlYzNnIwVzT3egYSfeCJj7nZvFAeaLmhXEHpEfw7HGkTIyb25v3j0mqV6pjFvakDWxMcLjgjtA== X-Gm-Message-State: AOJu0Yxo/4uU8Hy8Hi1CQGqiFkXzKCqWv2Jeg5uPvPEtGbSyXTDjO+uq lN87mNj/MzSkP5u9HLDnPBap0FadHfYxgUCx7RQfo/MXpmJUfjrj8UgiiZ6l5rB9BSJt+6UAEuY /7yZUaS157D1LFFyZ20XtcL9lYbKYp57u X-Google-Smtp-Source: AGHT+IGFgLRwj7OIRdUo2VVLZAbdMGqoifIly29LlhEUgbh88ENkjc+JOTqnLBLMMR+eFo0nAlkX00oK8ctrVaUrN5w= X-Received: by 2002:a05:6820:1c8a:b0:5af:a5d8:c445 with SMTP id 006d021491bc7-5b95cee8bb9mr14627767eaf.0.1716877120449; Mon, 27 May 2024 23:18:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Tue, 28 May 2024 02:18:29 -0400 Message-ID: Subject: Re: Cross compiling for iOS To: saleem gagguturu Cc: Russell Keith-Magee , "libffi-discuss@sourceware.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, May 27, 2024 at 11:14=E2=80=AFAM saleem gagguturu via Libffi-discus= s wrote: > > I just upgraded to the latest version of libffi 3.4.6. > I'm no longer able to compile the library as a shared library for ios. > In the configure logs, I'm getting this: > > checking whether the xcrun -sdk iphoneos clang -target arm64-apple-ios li= nker (xcrun -sdk iphoneos ld -target arm64-apple-ios) supports shared libra= ries... no > > The same log line shows "supports shared libraries... yes" in version 3.4= .4. Open configure or configure.ac. See what variable is set when 'supports shared libraries' runs. Then set that variable to yes when you run configure. Something like: ./configure ac_cv_shared_library=3Dyes That should skip the configure check, set the variable the way you want it, and produce the artifacts you want. > Are you able to kindly check if you can build the 3.4.6 libraries and if = so, upload them to your repo when you get the chance? > Jeff