From patchwork Tue Jul 2 13:36:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3149 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D51A641748 for ; Tue, 2 Jul 2024 15:37:01 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-58bd31b4bd8sf515295a12.1 for ; Tue, 02 Jul 2024 06:37:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1719927421; cv=pass; d=google.com; s=arc-20160816; b=rYHCZgXQDDbPfEr76S1Rr1v+fdNnoH1a9tOY3d3tG0sTEsH/E7fSWxZD4IFIN72HgG NDtOHar/SBSXVLk9elFN5B1lUAc6BMphvOBZoUHwhOY2DwhxbeLDE60VC18/Z9FVVYE2 WuoDy9IbiPNbw8IHG8ro0Dolm44MH1Du7jZBjr7YqivQ3NLN2Drf+Or9ha3SUed0eI2u Xf1+mT+DSHDu2a8q8JKUpTGMm+TYkkJbvHcvKC4LVFZon3nFXyKuM+ftAnNswRMn2uKs UIJYq9YkmdZUYDedlKbfwA01nzJMbcB0kdE6FqMmRTwUBnPPHpltdrgSAzaAx9jfPBFu NR+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9ZvB1kQR6pF9C2cwexyr+jAeWUz0CB0wtOeNNmDwEMY=; fh=jc3KT6jhqJFNGiJGXwrRIlyYg27FeWwolnGKZ2656mY=; b=tHtoDww7l3YPYae8FQKlAX/eWqdzTnbxbwRbglR6HnPqkBZvhSWlwGnSSoQesAItZ0 /9HEtDBqNEN8x9OpH7Y8YJ7sy8Jltb4xLsJZ2hqxq4qpW7m/nQlLuI9Qg83wvqb4IB5E KeG7RuBEYyjxqWSr3bqnQMa4AXXpujy6lbSm4fJp+Nu4rQNoZHMpUc88wnpt6p6RkksO t+aRq9klE0wYckjN+YPGHqtWnfabnoeKTqKy7ZgkNpxcQynfjKAthcPqUwpOle+/I62v k06UrsmMdDViONBj/HaW0HIr301byCtFT2wo82Ty5LXcvo6wRh/clG5idt02ZrjckeJ4 bkvw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QSoKT6Yv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1719927421; x=1720532221; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9ZvB1kQR6pF9C2cwexyr+jAeWUz0CB0wtOeNNmDwEMY=; b=alFNjYVSXlR0UVKKmyjDWNyGPtlv9vBzsAMmFE0Jj70bMu8w+40aHzQO9KFqLW7GkK vMBFTkGI+sNFTBctgifE/Iv7gaTpqF6Oo5GzwofEgFohvTCHMco1slyUgw2N+tJTB1r9 eMmHPp5tXSQ9n0QpswX1sHTNL/9LHEIyJvBes= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719927421; x=1720532221; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9ZvB1kQR6pF9C2cwexyr+jAeWUz0CB0wtOeNNmDwEMY=; b=JudujDvml176y8jrgIGZfUfT/rQwwaKfC4nQy85MYMRWStajU2Qpz+iAVPhLbJBy2F iV08ST0W4Q5nHA3dWowezEt8YBeh299M0KMrZwAwBRleBo1Stk+6M9VTwvdZscxdfe1t 7l1W6BvihAJHMIkgW4fQZfAfz+6YLekpV6JAJEC5tb10acl+d0N1gthhAf8GDpLhlIBy dFiN+3FueooRBnaBhctVscu/XY1381n/aX73Y1pxNgZK3oHetZpM8sOGzO779BkXAkuy yS4cxXLYT2yx+mmTkswy/yMYLhLSsB9FevwPTjf/KPNMzgllFnHzlaIMggjTxCzm6lrt fozQ== X-Forwarded-Encrypted: i=2; AJvYcCW1ty7Q9pTDNPVKVVA8oqnW3Gm4N6cXQhO29DAzcx/94gFnRCH+Sgmd9mhzJ5xFFFPdVg+xkr/NQ3E27QuzSqSb2d4N6uB34gimcNRldEk80FM84GDPw8lC1zlhtQ== X-Gm-Message-State: AOJu0YyzUNfc+DDrxfbAc1fwVQmjQdAJPAZ6ScABcnOSFNJv/Rycj1Yx SgIw/qIY16hWx68x5r/koiMu9gUEJFd5g7lB+ZUAtsIyBZ63nqqmUCIpORClXb71/w== X-Google-Smtp-Source: AGHT+IHaAZW7bGQhlb0McFsx0BiUxo8+0x64VZ1fjcPsPeuN5vGOA3oTslMOaaztm2Qno23NR4G04w== X-Received: by 2002:a05:6402:1941:b0:58b:abc6:9cec with SMTP id 4fb4d7f45d1cf-58babc69debmr721242a12.40.1719927421378; Tue, 02 Jul 2024 06:37:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:95c:b0:58b:fffc:bc24 with SMTP id 4fb4d7f45d1cf-58bfffcbce9ls241144a12.1.-pod-prod-01-eu; Tue, 02 Jul 2024 06:37:00 -0700 (PDT) X-Received: by 2002:a05:6402:5113:b0:58a:d4f4:e866 with SMTP id 4fb4d7f45d1cf-58ad4f4e9afmr2505888a12.6.1719927419831; Tue, 02 Jul 2024 06:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719927419; cv=none; d=google.com; s=arc-20160816; b=WBzPkpa9VukZA/MWHY2rWZ3ltJSw2sLWGpGqdNS38SEco9W+yH6QgcoKQbDNqaIIVF na+2ScCb9+o2pvjRa48Owuxgg1QxnuUfdULbQj2V7Y4Z78BGRBKoot4jJyl+nYBIoSU8 h+IMV1vLbK1RixavpYqfC1H46LZk50YW1C/wJjV3LkLq8K7JJAE+XYCTca5N/EvSDMA3 Y//ed5WcDXTE3gM+W2aDSWur8zXcgFXozMV9ZOdpaYoYqzpKTD4N6pS5pT/7qcQ8kkJ1 5YVFmjfMCY/q7arRgxKoaOf2y87/A/bezcNLaawuYtgkADWDCGnMhtHDJ8gEmPWhQ247 nLTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=S2e2nTwTPlWAqGliBlWMjMaIexTa1UASw5WM/DGk1g4=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=X1gaUEq9kYh2RI6kupPSqEm/igY4KBhvMBItV9Vy300LsBynw2oOhMD54sh7Z1moQM xlSo2l31Ah7dYd4Maan0cgRxncyi4iPVYcMhZ9mAGd10D/HpvS1EkdDWja6T9yHnJXSC rpmFuCYaeQa0R9fcsQ7c3dpv+RgD5ZQJFrqfLkIBW/V09ny0N+tGpMJR7aqjS0npWhiN ZO9g7DOLG6v6OJlkuyMq9YlkD7kj7MDJwLedVgrDIH14HXNWgtmzcu+1TwQhW3fRISNf FAya/BiONQMVCISUtNWOL5M1quoClgtgzf4wBsV7UN2VWnQysl3Y+Jq1hFL4pcx2dy/c sciw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QSoKT6Yv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-584d312d8c2sor3155148a12.5.2024.07.02.06.36.59 for (Google Transport Security); Tue, 02 Jul 2024 06:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6402:5113:b0:58a:d4f4:e866 with SMTP id 4fb4d7f45d1cf-58ad4f4e9afmr2505873a12.6.1719927419381; Tue, 02 Jul 2024 06:36:59 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:6474:ebbf:c733:f73f:670d:ca47]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-58614f3d51asm5682813a12.81.2024.07.02.06.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 06:36:59 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 2/2] package/libmad: drop GCC's "-fforce-mem" option Date: Tue, 2 Jul 2024 15:36:55 +0200 Message-ID: <20240702133655.2425922-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240702133655.2425922-1-dario.binacchi@amarulasolutions.com> References: <20240702133655.2425922-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QSoKT6Yv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The commit fixes the following compilation error: i686-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option ‘-fforce-mem’ From GCC 4.3 release notes [1]: The -fforce-mem option has been removed because it has had no effect in the last few GCC releases. [1] https://gcc.gnu.org/gcc-4.3/changes.html Signed-off-by: Dario Binacchi --- .../0003-drop-GCC-fforce-mem-option.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/libmad/0003-drop-GCC-fforce-mem-option.patch diff --git a/package/libmad/0003-drop-GCC-fforce-mem-option.patch b/package/libmad/0003-drop-GCC-fforce-mem-option.patch new file mode 100644 index 000000000000..dc832ac70514 --- /dev/null +++ b/package/libmad/0003-drop-GCC-fforce-mem-option.patch @@ -0,0 +1,18 @@ +configure.ac: drop GCC "-fforce-mem" option + +As reported at [1], the option has been removed from version 4.3 of GCC. + +[1] https://ez.analog.com/dsp/software-and-development-tools/linux-blackfin/linux-bug-archive/w/documents/7460/5626-build-lib-mad-fail-at-option--fforce-mem-with-gcc-4-3 +Signed-off-by: Dario Binacchi +Upstream: N/A [Buildroot specific] + +--- libmad-0.15.1b-orig/configure.ac 2024-07-02 14:26:40.657984791 +0200 ++++ libmad-0.15.1b/configure.ac 2024-07-02 14:27:07.098198997 +0200 +@@ -140,7 +140,6 @@ + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce"