From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 91A4B3858C62; Fri, 20 Jan 2023 19:36:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91A4B3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674243414; bh=FixOySKtJITln+zb9AsSsdsOwv7KY2FFOQ9XuJaZe90=; h=From:To:Subject:Date:From; b=AeD4L96OYCX/G+EhNlcVE2+EfZV1Rx5o9t1fCO0v4wF1tSikzXKCsAVnPMiz2tROI 6j+ZxwGRu0nybAodU+Ys4LjycDznZol9r3xHvNWWjjONw8fYNRkohLgxzpvBgvS+y4 OHSFKmwbWI9kNp405ZxBgFfXA52kUjBc/Zf5eenc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Thomas Schwinge To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] nvptx: Remove newlib ELIX level 1 restriction X-Act-Checkin: newlib-cygwin X-Git-Author: Thomas Schwinge X-Git-Refname: refs/heads/master X-Git-Oldrev: 3b58032de14f7a08b1c60ee9fc4857c5fbfc8e57 X-Git-Newrev: 654072d7a2feadb7b4d7466e59105198ab5e0968 Message-Id: <20230120193654.91A4B3858C62@sourceware.org> Date: Fri, 20 Jan 2023 19:36:54 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D654072d7a2f= eadb7b4d7466e59105198ab5e0968 commit 654072d7a2feadb7b4d7466e59105198ab5e0968 Author: Thomas Schwinge Date: Wed Sep 21 18:58:34 2022 +0200 nvptx: Remove newlib ELIX level 1 restriction =20 Such a hard-coded ELIX level restriction is only being applied for nvptx newlib -- but we'd actually like higher levels' functions available the= re, too. (Users continue to be able to override this via newlib 'configure= ', as for every other newlib target.) =20 This already enables GCC test cases that currently FAIL due to 'unresolved symbol strndup' ('gcc.dg/builtin-dynamic-object-size-0.c'),= or 'unresolved symbol mempcpy' ('gcc.dg/torture/pr45636.c'), for example. =20 Co-authored-by: Andrew Stubbs Diff: --- newlib/NEWS | 1 + newlib/configure.host | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/newlib/NEWS b/newlib/NEWS index 9aa82920d..ee456f9b8 100644 --- a/newlib/NEWS +++ b/newlib/NEWS @@ -13,6 +13,7 @@ - use global stdio streams for all configurations - use global atexit data for all configurations - vectorized math routines added for amdgcn platform +- nvptx: remove newlib ELIX level 1 restriction =20 *** Major changes in newlib version 4.2.0: =20 diff --git a/newlib/configure.host b/newlib/configure.host index 7157877ff..0a1ba282a 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -938,11 +938,6 @@ fi # Target-specific defaults case "${host_cpu}" in nvptx*) - if [ "x${newlib_elix_level}" =3D "x0" ]; then - newlib_elix_level=3D1; - elif [ "x${newlib_elix_level}" !=3D "x1" ]; then - newlib_msg_warn=3D"nvptx does not support elix level > 1"; - fi if [[ -z ${newlib_global_stdio_streams} ]]; then newlib_global_stdio_streams=3D"yes"; fi