From owner-freebsd-current@freebsd.org Sun Jun 12 13:02:47 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33AB0AF0A67 for ; Sun, 12 Jun 2016 13:02:47 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0133.outbound.protection.outlook.com [157.56.111.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8083D2E33; Sun, 12 Jun 2016 13:02:45 +0000 (UTC) (envelope-from sjg@juniper.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9K8mp/n+bvRgwIin7ddBohGBf2Ex2pC4OBImabUsTIk=; b=fhkcz84B6BIAah+qGOqtu0kbYMyLFQYhg5P/JuOtvcUqF7SlxElP0ZtSCoX/RdH2viHPc7vjxSP7wpBWBui+a4N4yrJP7Doo1EPA1HmpCDobORXhFhPS7luD0X8m1UIZndHgI76Cmgx3ay3JlnkwtDbliKrQyKtbUcfrWDjv7+w= Received: from BY2PR05CA047.namprd05.prod.outlook.com (10.141.250.37) by CO2PR0501MB807.namprd05.prod.outlook.com (10.141.244.141) with Microsoft SMTP Server (TLS) id 15.1.511.8; Sun, 12 Jun 2016 13:02:35 +0000 Received: from BL2FFO11OLC014.protection.gbl (2a01:111:f400:7c09::146) by BY2PR05CA047.outlook.office365.com (2a01:111:e400:2c5f::37) with Microsoft SMTP Server (TLS) id 15.1.517.8 via Frontend Transport; Sun, 12 Jun 2016 13:02:35 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.19) smtp.mailfrom=juniper.net; dsl-only.net; dkim=none (message not signed) header.d=none;dsl-only.net; dmarc=none action=none header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.19 as permitted sender) Received: from P-EMFE01C-SAC.jnpr.net (66.129.239.19) by BL2FFO11OLC014.mail.protection.outlook.com (10.173.160.144) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Sun, 12 Jun 2016 13:02:34 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMFE01C-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Sun, 12 Jun 2016 06:02:28 -0700 Received: from kaos.jnpr.net (kaos.jnpr.net [172.21.16.84]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id u5CD2SE83738; Sun, 12 Jun 2016 06:02:28 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id 2D9F138551E; Sun, 12 Jun 2016 06:02:28 -0700 (PDT) To: Mark Millard CC: Bryan Drewery , FreeBSD Current , Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? [still true of -r301815] In-Reply-To: <38443.1465735161@kaos.jnpr.net> References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> <92116.1464890038@kaos.jnpr.net> <4a2034a9-a2e1-d951-aecf-43e043c48d75@FreeBSD.org> <55609B4E-DCC8-4666-BA15-17B6EF7D593F@dsl-only.net> <38443.1465735161@kaos.jnpr.net> Comments: In-reply-to: "Simon J. Gerraty" message dated "Sun, 12 Jun 2016 05:39:21 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <38651.1465736548.1@kaos.jnpr.net> Date: Sun, 12 Jun 2016 06:02:28 -0700 Message-ID: <38653.1465736548@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.129.239.19; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(2980300002)(199003)(24454002)(189002)(97736004)(77096005)(23726003)(46406003)(586003)(8936002)(4326007)(107886002)(110136002)(50226002)(8676002)(50466002)(5003600100002)(97756001)(9686002)(81166006)(81156014)(356003)(4001430100002)(6806005)(69596002)(19580395003)(2810700001)(5008740100001)(189998001)(93886004)(19580405001)(92566002)(50986999)(76176999)(87936001)(47776003)(86362001)(105596002)(76506005)(2906002)(117636001)(2950100001)(68736007)(106466001)(53416004)(11100500001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR0501MB807; H:P-EMFE01C-SAC.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC014; 1:tgPGMxdm6PCmgFR/CrRYqoExLpn6qy6Uaq1fUrOvuiaQnic1jDvmHh81wuGlG+AlyQYpcxDlmFA18GYwqgJmuTt5b4noZNjQw+ypXrF1umiTDH1xu0AhLOwL1RwFB4OT9PSoGqviiyg/2H1w2xoLe6/JtvnD3fgdwE77QLhQagVCx2/zZUA5wKA4UX0+sfrAsvjAKLlFVBtAQVwoYJoI9y19EUJAqWZKPQ7RLOoxG7AHQc1Ll94Tq6b8+PQpyozfdIH4j4Vyw+kvEc1zNOOnEbJnTphH3F4KbvWAjUJJGJMeMK3PJfl0LfTIWNrVOAhOZBBxV5+tmD0B29wNVJA9osssx0UG0Fahd2PfNkhINl2bGuZQGDtqncipz6+sqzlvn6r48AfucUeNnn5615gxQezkWOFzM1Qn0of+Qw7pT37w15Z+yHyFZd7zfBf/+o54QVfTgDBEVbAS3espTJ8Dnr0EtaUzDyZyzSdJV2WqNxY= X-MS-Office365-Filtering-Correlation-Id: 73532ab8-f0ad-412a-0d37-08d392c1d267 X-Microsoft-Exchange-Diagnostics: 1; CO2PR0501MB807; 2:46k2hozqrx039TVK7dXIu8pph2BvJ9Ri8WRw30KppqPFJVcefttj+PesVyvFVB0XM49MtAiessGBk/r5YjcpOz/It3tQ7BwRSyDU8k2PKoHlT+jlArQughI7ziCqe+Y6vpzEMJxI8wysAx+SMWIwhnKD1RfaYa6lCYxZ+AEKIzZOnrlh6s//JZkMp9E1A4jZ; 3:bT89UMmaDd+JiTNjqBz3U2UzgSzAzabNFQRl+/cYLsX6o1RxpLnHDG8BygyojhS4vVDTOr1739rnn21lognZldk9T48KgJMPjUDx3t+vCprvb3nOMHPct3NA3JkhHiQu3vTF1V2iP6AeJTLaHjO+gKjNmPN9QjWnkj00NQxVmi3lHkmaL3zL+q/NRTGcf8/f0hMO1PoTfjRY1kXI+y5L/jQDfFUgrkGahSgPWrESWcc=; 25:K25y6rrqU2SSjJGHPMAw8H8stDjd6UuE+2/PDu7E7XZygU/BL2o9sE/3Opm/WSzwKslc1k7w+TdcWs/ZkrW4fVcXLcadwyN8u793Aqzd/59nlBYG30vFBy3OQd174t6e45kJdOvvwiU2rSY5ZvGidb5Syxj7dC08eqJoGtqXx8BAMh5pS397j22xdUz/F+C6CTt9W6vJXTHwkWicIMze+1dC454QH5IZ6EguEqhg2ZCSeWRQql9B0mGvUGl7Td44oYlHkaCuCW9fjizux1SJmbeJAMGh6sE88fshbksXdRIOj4bA+7kkw30mX9xR6be9cdMR0+uBgiO4xvWhr5zTmWRBfHE0QuGNmzDFwJWlGsrJzPLA9I0rGje6fUlLz9JIUj/HSg1Por/gebxD25+7FklYslQA1etJSZBxtB1VKRc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR0501MB807; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0501MB807; 20:cE0U2SMgQsECRR5/TAN1V4RXB6zPrgZfbK28COH2FT4wpL0ZL0pHLJHTLroyDv/FqIZ6k0NeOZ7jd2jX/yP1ETAWI93areTuAPUksJKWQY2NLQzVWaTXxkXgQwAUuNE/UN3bC9wkj3Q24IXjYGwiU/L7sUamyAIRWlTDkyfweaOVDP9TMGJZcuIq7LY5f4LWSb2aPmDIIRsBZMxLwiigQCq/qz9hEy5hpKye1eaYiJzdlAv7pkVQYh4is7PC2GDpVCRK5eM5RBg601FcX5hYNDqVWOIRU+ocIAYcGS2PcMxSerTNJ9Bdy/vxO4U1JuNoGTDf8FxGH5f8VPYEjl2/2vcb1R80CKGxWgoJ1DtunufsUnwBGOXIQa/t5so1dwGHNKGmc3KpfLIsFPtooTNLAOViWWM2Y63thhzFEq08lDNyfDTdUzc8aGsm8PUKsRNbkDBY2Wlo+vcR+KfEG2MYczgyiCmwS5nj8WOgcX9zdToG+hThILNVYKClSrAuFIor X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(138986009662008); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13023025)(13017025)(13015025)(13024025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:CO2PR0501MB807; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0501MB807; X-Microsoft-Exchange-Diagnostics: 1; CO2PR0501MB807; 4:0Zeit2D837K7OfvPzmD7OQQj15/APhWf9jT55MLGNcpmdU84B0N8T5HQdQUzQMA4aQVEnKk3mzFScGB6sjpZZgX10PK1d764XxUPU9X7gZO+hwNPfBfaQJcAxrwWVZ2gc/rlJjxO/QfkhqJavNSXytLDTW+RJZqKltkLDfnTTftAjZRD1QCRGh++OvZ0LBVOw3PZ72S6J9gSqu0+BLxpTIhJ4rsZbHsTLhSkrNWdEy61mRy4Ewb8Twyu+XF19qPrbXcB8qwEsBKmzWwS+vneuygWtbl6weA6txnWXUFtspNuEiS2UsLFN295G2QOF0yPbFSN0oGeP1F7KXPA3qfZPMjYcIdssLAMd2CE4/MazlQAYT/loRNdUNZaGyl7LoPnkwLMwafjfJkk2JnyyyDTsup2lDWH81US8F5GcCtPimXCoRu2/u0KV8U19dztJtYJVbW4IViJl7wotl5AFFg5Hp8biEiviwlczvYW57YE6wKtpNTIY8h+XEJqNsWw1w8rYvhIC2RC9FGS4rwvKyHDkQ== X-Forefront-PRVS: 0971922F40 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR0501MB807; 23:pVin8fViUgAK7Omwz76224XzgQhTHjXboCUwI5bA?= =?us-ascii?Q?8cf/Kz2FTCS+0QCkal3ua+YPNdurhAoP48VjGLKLweLm70ha2F5rxBDOKr79?= =?us-ascii?Q?KN5Y+/lL0e8K8HZcfOB9a38xTqkXOZ/tvK8g3r8C463mc9RKE2Q16hx0MDlx?= =?us-ascii?Q?HJa13xGU7eiWhg71Sr0jB6WYOFRyJfl5CcVNOLJbs2dNYfBRtxp0TpBgEvAs?= =?us-ascii?Q?//5ncqF0jjSDTX6UjroCugtPqvct0l/w/p5Tba/tXkDYobA/22VCfy3wYVu1?= =?us-ascii?Q?iYGGaXztMrYZ2fG0z60JgCxMDc3b5QyRQNLMya571B6sP/aA2ZMhELqJiVVG?= =?us-ascii?Q?yXiUFRJ4z2veKeGFJzosPptkrojIa49LrOHySolNzMTHSnkGrTzTXyLwc7Af?= =?us-ascii?Q?5tMjWGevGSIDDtvkm0ucevPN2QIHvNe3xFS7EWkHFhYlJRcX0IFVWVDBD7xX?= =?us-ascii?Q?fC7KyOe5JVyGZrfm4kjiUBoBqokjaxtpshMSq8DoK3aqFl825Ta4ozEvCiFQ?= =?us-ascii?Q?SDiLEd59UykuBoSmyq7bbbgzrCD+clgvbV+rKuTz+QRuM57u1h3egkz4o9t8?= =?us-ascii?Q?mNtVyzh+cd3cN1oqldHCbHrtcGCZszxcqc7BMByNTPrcDFCSWtAFGTb3DFfc?= =?us-ascii?Q?65O16SLNHHhNU3H6DoVZaS2I+7D1mp9rAlUGHoEPN7XYN+O5T4r23oorldbi?= =?us-ascii?Q?SXopfzBnuITzLD0FFw3Z/OQN9yAbMh4PJy26afTTRoj4jXjhSYcqL14t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DWZ/vc/n30abzojLht+cjYORLimB9pFi0aOJNjJWG6/0k8n1P/RBm5UdgrgzSmV6jIJ95lXFSScs3yCWP6N43geZQPbBsPHV0GR3eDA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2016 13:02:34.1940 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.19]; Helo=[P-EMFE01C-SAC.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0501MB807 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 13:02:47 -0000 Simon J. Gerraty wrote: > If you want cross-building to work, the simple solution is to ensure > that you use HOST_CC rather than CC when building things that need to > run on the build host. FWIW there are not many makefiles to fix: bin/csh/Makefile gnu/usr.bin/cc/cc_tools/Makefile lib/libmagic/Makefile lib/ncurses/ncurses/Makefile share/syscons/scrnmaps/Makefile usr.bin/awk/Makefile and bin/sh/Makefile which is a bit different for some reason. also in Makefile.inc1 CC=${HOST_CC} is in the BMAKE command line: BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ DESTDIR= \ BOOTSTRAPPING=${OSRELDATE} \ SSP_CFLAGS= \ HOSTPROG=yes \ CC=${HOST_CC} \ MK_HTML=no NO_LINT=yes MK_MAN=no \ -DNO_PIC MK_PROFILE=no -DNO_SHARED \ -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \ MK_CLANG_EXTRAS=no MK_CLANG_FULL=no \ MK_LLDB=no MK_TESTS=no \ MK_INCLUDES=yes