From nobody Fri Sep 15 00:09:48 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RmvhM636wz4t8cy for ; Fri, 15 Sep 2023 00:09:55 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-5.mit.edu (outgoing-exchange-5.mit.edu [18.9.28.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RmvhM5P8Hz4DLt for ; Fri, 15 Sep 2023 00:09:55 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; none Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 38F09pRZ010180; Thu, 14 Sep 2023 20:09:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1694736593; bh=r2XcGe72x/FpC1BFmZMwTvYrAuYlVI3KjPN6OMtEVZ8=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=VM8ZwRNlIX4WdbyNHQltbMmF+gj/CSh20PCVSGc8P5YtdqbATewFoEmxCX/+epXyY Zw6/tavjg5jPFwUZQLDOe8GuKws0bA0fY75K9JkTtuvwdmqseoy23f2T9YVnTVE93+ jjShQjf4/CVTu3k9OvHxH8yy+xoKJZZyMGnWoGUkq5db80A90ijPAEYx+Lzj5nRt3c rwzTpuDmA9ANKD+zeLaKlXVWhzr5+oiGHWin2yF22a0FH65HAp+TPwucLRKkoWNZuk bP/lqc5XrgSCnosFJkWdpSlQUkarALnQ7vR+VTuMwkHp1BMiH3etuZXsTUrZLMxkFL 6WEv/1OYYPPtA== Received: from oc11expo30.exchange.mit.edu (18.9.4.103) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 14 Sep 2023 20:09:44 -0400 Received: from oc11exhyb6.exchange.mit.edu (18.9.1.111) by oc11expo30.exchange.mit.edu (18.9.4.103) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 14 Sep 2023 20:09:50 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by oc11exhyb6.exchange.mit.edu (18.9.1.111) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Thu, 14 Sep 2023 20:09:50 -0400 Received: from LV8PR01MB8454.prod.exchangelabs.com (2603:10b6:408:184::18) by PH0PR01MB6764.prod.exchangelabs.com (2603:10b6:510:7a::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.21; Fri, 15 Sep 2023 00:09:49 +0000 Received: from LV8PR01MB8454.prod.exchangelabs.com ([fe80::48c4:e0a1:4fd9:5f89]) by LV8PR01MB8454.prod.exchangelabs.com ([fe80::48c4:e0a1:4fd9:5f89%4]) with mapi id 15.20.6792.020; Fri, 15 Sep 2023 00:09:49 +0000 From: "John F Carr" To: Mark Millard CC: FreeBSD Mailing List , freebsd-arm Subject: Re: Wow: Building the likes of devel/llvm16 now requires building rust first (when rust is out of date). . . Thread-Topic: Wow: Building the likes of devel/llvm16 now requires building rust first (when rust is out of date). . . Thread-Index: AQHZ5tO1F/rzrDrgf0+K2CR3t7z5K7AamTWAgAAyG4CAADjdAA== Date: Fri, 15 Sep 2023 00:09:48 +0000 Message-ID: <5290B318-0647-493F-8D1C-B87D4E623D73@mit.edu> References: <5620735A-FB8A-4AFE-B4E4-32D0D8D58962.ref@yahoo.com> <5620735A-FB8A-4AFE-B4E4-32D0D8D58962@yahoo.com> <839065D4-58CC-4E59-9726-205BDFC01521@mit.edu> <7177D97D-8980-4222-8679-EE3091D09AB8@yahoo.com> In-Reply-To: <7177D97D-8980-4222-8679-EE3091D09AB8@yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV8PR01MB8454:EE_|PH0PR01MB6764:EE_ x-ms-office365-filtering-correlation-id: 1d2c64ac-2c9c-4b78-0f5d-08dbb5801369 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3rOxophfnB/KLEic3yLO7cBAj0+bci5eF6iBH1Zuj+WN9leM0sFDvSp56aOmKkCvgpa8RxXRbn5LdygvPbx4jcEYU6XpSw3XCK+Icq8utPlXHy4DPQAaf0lSo6X7FeWLqUXiJ96soMz2FAoQPV5MykkeNjqcGeFk67o8+jbJCVA9cfQHYwZc/J7W8aiOtx2LlWtw77uKCvD0ChqGD6jhGH+aEz5GeFNEWr+jXw+P9HOM8ItY64FFrJIxkN6T0DCnWijGZ66gbpif/gqLi1Xb40fbxb03KEEwwMr4ljoJV4IHkP93fMq/fFA8X8CcCfhHPw3qrJOpKk3nkfeErG8QqD2DKVXLdlao6hRds2W/HZl4CUCgIc3E65+ypEgfxao0DHO/Ja59WBvmu8IVZZZq9Jf+vyCXN/CBYkYA+lbdsPU0TjFcRsAOJoXHcwabzNtrRUkHZ/by3ZEzooDu2VXU3E7/mOjBfgLyjemSHmRDA03JIQWGulDlks9gW0xgdj08wdZDg3KqSwxnTaIolye9fuWEAv6KG8j2Goc+kH4dulqCbxzhU6eO2jBK24UF7b6x28n9Ns0KxzYUeBifmtC8p+iOlZ3LFE3RYqyVDYwprdqW60mkBYKM9CHTS62oTuaWLPMzLCIRTxmzPx73Jjuz+g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV8PR01MB8454.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(376002)(366004)(396003)(39860400002)(451199024)(1800799009)(186009)(6506007)(6486002)(71200400001)(36756003)(53546011)(122000001)(86362001)(26005)(66946007)(6512007)(76116006)(2906002)(66556008)(91956017)(83380400001)(38100700002)(38070700005)(33656002)(478600001)(2616005)(5660300002)(75432002)(64756008)(54906003)(66476007)(66446008)(4326008)(316002)(6916009)(786003)(8936002)(8676002)(41300700001)(132733001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6zaEXaZFSHwQDcmtqo7wexFV+hBVrtZHYiSVooILzJvXUyIX/zJkVZSFoMeW?= =?us-ascii?Q?MKAGE3FdVUr7WIE9mPqwwEuK9vfEBxdTdT2hmVmk4booQG8Q0X3WJ1voEo+A?= =?us-ascii?Q?T8pgr2EzqJ3CcGolMD333XCR7CT4yf98n1mz3l518pBXJ4yDFclFsyI8nkiD?= =?us-ascii?Q?pmd+JzZGvG/DwvBAkWlxc+3YmBc/Wrf8C9yH0uRSqjRtStAfc1ylaxVMyAQ2?= =?us-ascii?Q?U4R9CyHRZLvcbMvu/aWRAw/HJ5pfyysUx+DUsKwD081VVgH/FUYDmFxof6S5?= =?us-ascii?Q?8nEkEMyc4q3s9AZIvPs7aWw2vdmDs6a/PMLaeIroZq9ljtj44vLJL0ANzfjU?= =?us-ascii?Q?RsRXbZlljmHYePiCBTDHaUF8u8iX/je9nNLc875mlc6YqUd5JN6vNj16ZIOl?= =?us-ascii?Q?SfQX1Ci78qlw/nUZ037PaSO9yf0ahMzfbQ5iER8uXihSXIaM8bIj5jRNaE2V?= =?us-ascii?Q?rWd1SOj2mKuf7IeA50RVdXrqeRUghDIR1gELWFGJ3xTfrrW31VwGBXsDdx6R?= =?us-ascii?Q?a8Q732QKuzy/VRl7U9Vmrict9qSPaNwI7X9Pl8Qm2xO1V4I+16zGw7L0WmcB?= =?us-ascii?Q?d6MNIqNu73H2TmiNRH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q?3KQmNg3szg6GBJ2fii1FmWpkDjuGAdGp8zXG6Vy0rKhPa0J3H7Lj8EDfrUdG?= =?us-ascii?Q?jGPVnLY7SOD1VIp8U8c=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <46834B5DCBCAA744944A3A6BBA1F81E1@prod.exchangelabs.com> Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV8PR01MB8454.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d2c64ac-2c9c-4b78-0f5d-08dbb5801369 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2023 00:09:48.8686 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: w0WomehwjoW3idVhWf231V7APtK8ioUQiWd1LeFPZ+IDINbdKTqXPWnGL7vzuDBl X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6764 X-OriginatorOrg: mit.edu X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US] X-Rspamd-Queue-Id: 4RmvhM5P8Hz4DLt > On Sep 14, 2023, at 16:46, Mark Millard wrote: >=20 > On Sep 14, 2023, at 10:46, John F Carr wrote: >=20 >> This needs to be fixed. One massive compiler should not depend on anoth= er massive >> compiler just in case something in the tool chain wants to make an HTTPS= request. >> Setting DOCS=3Doff does not fix the dependency. >>=20 >> Here is my list of stripped-down devel/llvm17 options that still require= rust >>=20 >> =3D=3D=3D> The following configuration options are available for llvm17-= 17.0.0.r4: >> BE_AMDGPU=3Doff: AMD GPU backend (required by mesa) >> BE_WASM=3Doff: WebAssembly backend (required by firefox via wasi) >> CLANG=3Don: Build clang >> COMPILER_RT=3Don: Sanitizer libraries >> DOCS=3Doff: Build and/or install documentation >> EXTRAS=3Doff: Extra clang tools >> FLANG=3Doff: Flang FORTRAN compiler >> LIT=3Don: Install lit and FileCheck test tools >> LLD=3Don: Install lld, the LLVM linker >> LLDB=3Don: Install lldb, the LLVM debugger >> MLIR=3Don: Multi-Level Intermediate Representation >> OPENMP=3Doff: Install libomp, the LLVM OpenMP runtime library >> POLLY=3Doff: Polyhedral loop and data-locality optimizer >> PYCLANG=3Doff: Install python bindings to libclang >> STATIC_LIBS=3Doff: Install static libraries (does not effect sanitize= rs) >> =3D=3D=3D=3D> Options available for the single BACKENDS: you have to sel= ect exactly one of them >> BE_FREEBSD=3Don: Backends for FreeBSD architectures >> BE_NATIVE=3Doff: Backend(s) for this architecture (AArch64 ARM) >> BE_STANDARD=3Doff: All non-experimental backends >>=20 >> rust does not currently build on my system so I can not build the ports = llvm17 or llvm-devel. >=20 > (py39 happens to be what is in use in my context.) >=20 > Even devel/llvm*@lite depends on py39-recommonmark > --and that in turns leads to the sequence: py39-sphinx, > py39-requests, py39-urllib3, py39-cryptography, > py39-setuptools-rust, and rust. (The dependencies > look to be basically runtime and test dependencies.) > devel/llvm* always seems to be tied to recommonmark . >=20 > [I'll note that recommonmark is in the process > of being replaced upstream my myst-parser but > that also leads down the same sphinx and later > dependency sequence from what I can tell.] >=20 > The system-clang builds avoid needing recommonmark > (or the like). May be devel/llvm*'s could be updated > to allow selecting such an avoidance? May be what > actually uses recommonmark (or the like) could be > separated into its own port that could optionally > be built/installed? (Just vague ideas.) >=20 > [Separately, just curious: Which resource limitations > stop the building of rust in your context?] >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com My rust build fails with crashes that are probably not related to resource limits. I don't want to have to debug rust. I am only trying to build a C= compiler. From dmesg: pid 73093 (rustc), jid 20, uid 65534: exited on signal 11 (core dumped) pid 17027 (rustc), jid 29, uid 65534: exited on signal 11 (core dumped) pid 16967 (cargo), jid 29, uid 65534: exited on signal 11 (core dumped) There are some other errors in the build logs that are not signals, such as error: could not compile `pulldown-cmark` (lib); 29 warnings emitted My poudriere.conf settings are USE_TMPFS=3Ddata TMPFS_LIMIT=3D17 MAX_MEMORY=3D23 These are not round numbers because I chose them to be somewhat bigger than older values that were too small. I have 3.10 as my default python version in Mk/bsd.default-versions.mk. I don't remember why 3.10 and not 3.9. 3.11 used to not work with llvm.