From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by sourceware.org (Postfix) with ESMTPS id D387A3858298 for ; Fri, 13 Oct 2023 14:48:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D387A3858298 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-1e58a522e41so1168136fac.2 for ; Fri, 13 Oct 2023 07:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1697208534; x=1697813334; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=K1p2Q5egtUy0L3KJz8HL+nmR+jvlA3/6+cS5EraFyuo=; b=CJqxE4GZqNwotzC9naTJnWc5sl2vr/loH3xVKaDbTiwQ9FplFa6Cg/kz2H3bofxiWn wJ9DY5+MXbdM6knmTvJT2FJNWlkiw7IOF+YTSgDeelJp7j+HOJwm+uWHm3Hng8pzhOYR +zGdPkrS4qFiEIsVpeutechwq5r4/znrPk9A6cPRuQ3XU+KX15EaSI+zCxDUxComL5lW BU1J+oLOMG18n4ULMrKsh83t3nZ0gd2qUQvElyvb00X0J8ki29h9auusJFnecNbqA4+J oC6lUBrFvyJfx+91lL2HLcPBpxItb/ahJfLKUG16QqatdIC3kvcn7qKV1kYPwfpniGuZ zHEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697208534; x=1697813334; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K1p2Q5egtUy0L3KJz8HL+nmR+jvlA3/6+cS5EraFyuo=; b=aMpiyKZuRZSB8x85fPqRxt55pi1JsnscVNkCXaGW/NYEaDfv0y9HIwRD5bLOlvu+hS KNIvVunX3lJ0nzLTqbqhK/LlDdgA4Tl+TUK9e0BuATYC+jX5ueq8q0OejKE8pJ5d2A8P eWymJVw3qc30Zmo+8dsmcg+Hr8/qn6TjV3me9cTHWwrlgEfg7PcS8w171ig3A5x5Fzem +dTMrOW2xhKyfwVBd5PTYLRxQxUWaA4rcX5EYib9gf/KNNWkL/mjpGHjRQptCGqO4ZAN 7y3REAcOSEA8YDzZgRJCatS6Uk7TDL7FpXX6iWar/2UKlhnq2zlPWANaARlM9jYFV95q 60bQ== X-Gm-Message-State: AOJu0YxdxtpMtcttlaGfaDsX+IrR0rbMWi9DP/YBguxJREBwNQQEJP93 2lAZvCmGYiGBLikPI3JQ63LP0yPm5X8MNxu8bj6Sne6oY3GWX9koYiQ= X-Google-Smtp-Source: AGHT+IHu8vGrfJM45EzL+Ndu5nxQ8EbEcw6jzqqFMLrae7+kknvrCrg5x7l7RoGoYT7nBI1KFNKlbbbUYE3OQBKnIqs= X-Received: by 2002:a05:6870:b246:b0:1d5:a303:5f47 with SMTP id b6-20020a056870b24600b001d5a3035f47mr34383829oam.17.1697208533982; Fri, 13 Oct 2023 07:48:53 -0700 (PDT) MIME-Version: 1.0 References: <20231013144004.B2C9938582A1@sourceware.org> In-Reply-To: <20231013144004.B2C9938582A1@sourceware.org> From: =?UTF-8?Q?Cl=C3=A9ment_Chigot?= Date: Fri, 13 Oct 2023 16:48:43 +0200 Message-ID: Subject: =?UTF-8?Q?Re=3A_=E2=98=A0_Buildbot_=28Sourceware=29=3A_binutils=2Dgdb_=2D_failed?= =?UTF-8?Q?_compile_=28failure=29_=28master=29?= To: builder@sourceware.org Cc: binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: This is mine. Not sure why I don't have the error message locally though. Maybe something with -Werror. I'll push the following fix: Author: Cl=C3=A9ment Chigot Date: Fri Oct 13 16:43:32 2023 +0200 ld: replace wrong bfd_malloc in nto.em xmalloc should be used in emultation template instead of bfd_malloc. ld/ChangeLog: * emultempl/nto.em (nto_lookup_QNX_note_section): Replace bfd_malloc by xmalloc. diff --git a/ld/emultempl/nto.em b/ld/emultempl/nto.em index f4c76f18fc2..273502dd802 100644 --- a/ld/emultempl/nto.em +++ b/ld/emultempl/nto.em @@ -98,7 +98,7 @@ nto_lookup_QNX_note_section(int type) continue; /* Verify that this is a QNX note of the expected type. */ - sec->contents =3D bfd_malloc(sec->size); + sec->contents =3D xmalloc(sec->size); if (!bfd_get_section_contents (sec->owner, sec, sec->contents, (file_ptr) 0, sec->size)) einfo (_("%F%P: %pB: can't read contents of section .note: %E\n"), Sorry about the trouble Cl=C3=A9ment