From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id E38A73858D1E for ; Mon, 19 Jun 2023 20:42:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E38A73858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687207328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yi/r6j3oxgeneGb/cJN3a+cYgIAkshLJEXglax+WZJc=; b=fal+qejfek158DEYBZcDtweodsOR7+6Jzvee4SY6O7Z5PMF6HlVPzeTLFom93CW4+4NPUn ravrKUPLiJlL9z4XQfm7zdRACypcnKIEoN5ot7ovDxbe4okYyRFIGsNaZ/6Rw/dSFbO1TE 2YPCtSsbhQ7IRyPcYzUqzCr/BrrNyn8= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-eVZ1-wdMOFW0yUfZb_i1yw-1; Mon, 19 Jun 2023 16:42:06 -0400 X-MC-Unique: eVZ1-wdMOFW0yUfZb_i1yw-1 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-3fde794cd50so5717981cf.1 for ; Mon, 19 Jun 2023 13:42:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687207325; x=1689799325; h=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=Yi/r6j3oxgeneGb/cJN3a+cYgIAkshLJEXglax+WZJc=; b=U6fxskalEsLl+VN+Tki7vxlbcMP7v2DVXCCmPBxLn4BrqPgjieIpaXdgksUNWeCUcc ZWlEdUeEsKVHmp4O2nNfQUCy9S1l8SNI/vYz4cQbXjpGzg2QoRx/teps4mgtktpVanZ6 k2tevBeApoGrQnCj604tvNgWVJw0dBv7tT0d3n1krYlowZk+XMut6Q6WeVv7Fja05nYv A9A1HmXya/tc6XFRg/Et9FdqAt6CjYXZOFZeGgXaxpQflspOo3P6FhI8zcdaZQTvuDDi WDmyAUcK9QqWZcwU7mPOsPjvrXqYYeR7wqXl2Z5IAd0sD+c65nYWoFVmp3pinOYN65NC HsWg== X-Gm-Message-State: AC+VfDweoJkNvBIpUGN4+vmU2mphYPsHE1IEvnDl7ay1y9r5MOA2DLhT Vuk8bS0aGr03Kbj+sQLGPi+2vbOTn4D8kqKzSUPq+rRHNQcGzlJ/+4F9mWHUI0xpNQggkxmwpHg E/U4sA7Wnptknn64YnTOEFR4iviLnRLJrIqS9nKQ= X-Received: by 2002:ac8:7f04:0:b0:3ff:2a6b:5a76 with SMTP id f4-20020ac87f04000000b003ff2a6b5a76mr701148qtk.5.1687207325277; Mon, 19 Jun 2023 13:42:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UY3ctPgXjWhJOQXSb3nGTTdvsYq0buwyF4xa1c8HFgM0s8BTWDsS349o2OnROQQT9HVHK6GtLcnbNunjUKuI= X-Received: by 2002:ac8:7f04:0:b0:3ff:2a6b:5a76 with SMTP id f4-20020ac87f04000000b003ff2a6b5a76mr701138qtk.5.1687207325100; Mon, 19 Jun 2023 13:42:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jeff Johnston Date: Mon, 19 Jun 2023 16:41:54 -0400 Message-ID: Subject: Re: PlayStation 2 newlib port To: Francisco Javier Trujillo Mata Cc: newlib@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000004686c205fe8191e7" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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: --0000000000004686c205fe8191e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Francisco, If you would like help, I would suggest you tell others where they can get a proper toolset to build with or at least attach your build log which may provide more info. I certainly don't have a Playstation 2 toolset hanging around. In addition, looking at your patches, you are missing copyright/licensing info for the new files you are adding (as opposed to existing files you are modifying). If you are taking code from another location, you cannot change their license/copyright. If you wrote these from scratch you should indicate this but you still need to add the licensing/copyright info. Regards, -- Jeff J. On Tue, Jun 13, 2023 at 2:31=E2=80=AFPM Francisco Javier Trujillo Mata < fjtrujy@gmail.com> wrote: > Hi there! > I would like to mainstream the PS2 newlib port. So far the PS2 has had > newlib ports for years, however, it was never intended to be merged into > the mainstream. > > I'm now trying to port to the latest release 4.3.0, however, I'm suffering > some errors during the compilation process. > > I have attached the changes that I have done so far. > Then I just rerun the command `autoreconf` using the proper autoconf and > automake versions > > I execute `configure` with: > > PROC_NR=3D$(getconf _NPROCESSORS_ONLN) > > TARGET=3D"mips64r5900el-ps2-elf" > TARGET_ALIAS=3D"ee" > > ## Create and enter the toolchain/build directory > rm -rf "build-$TARGET" > mkdir "build-$TARGET" > cd "build-$TARGET" > > ## Configure the build. > CFLAGS_FOR_TARGET=3D"-O2" ../configure \ > --prefix=3D"$PS2DEV/$TARGET_ALIAS" \ > --target=3D"$TARGET" \ > --enable-newlib-retargetable-locking \ > $TARG_XTRA_OPTS > > ## Compile and install. > make -j "$PROC_NR" all > > > And then it always fails with this error, > > fatal error: opening dependency file libc/sys/ps2/.deps/crt0.Tpo: No such > file or directory > > Could you help me to identify where the issue is? > > Cheers. > --0000000000004686c205fe8191e7--