From owner-freebsd-toolchain@freebsd.org Tue Dec 31 22:52:12 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 937981DF848 for ; Tue, 31 Dec 2019 22:52:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47nV1653cBz3JL3 for ; Tue, 31 Dec 2019 22:52:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: OsVdo3kVM1lfAtlogCFYfFCBLf94zzBdVlGv7XJobTRq83tiAtsM2PqrYSdZNUr ufCsr_fusXpEWHLzIuNO61sJyceoP069ZbgzGMUQeWB5F2LyEa1ijxqKqyvEfJLuwgkwd6fAnFLN LXlevbSmbBz7ZxRJK8K.5ABbtIVknX6A2TpJY9JC32z49DPQhEcE3azHX1suOYQL1oMI4Y.516st C.7UJq2.VWQFORtZ.jFaEKaKtwrFcDF2XpEb1.NnfJh5Vg88vAAnhPqROKlzLsVMi65kMSN7akrq 0hriHZ4GTfXY7pUNpFzoiL9juTlabzF9wSitnzkb49dUO2l4JS_wJhikP_3QmitOXffjP4TR7EIS 6RDuWlszkpJrQdhvbWZVOF0hEeuKNzquw_pvQ.9bjfwqNFFRXphvpayzUpUoTLr9YbzptUHZ_CXl 5UMlECtfWhqDTNGRMobmawersJhLQQL3v4gSQAOOEYsiqGdfsnTfX3mvRcZzqzjg1DcfCnHR.Yl9 wOaKL1BjBJrOJYnVSu9iBic_LUiknGEXZCs_sZHrdF3rRyTS1dWrlK_p.zDMMWohJPL02bopZQGM wSjv_M.yas6RBK7A_lYRFv8QYhtccPMXY5Sru2MvvHzYP60E0Ozz91BUy2zHOCsFINpnPQaMOvDA fV0EZSQNAEtx34jN5oRuNVVld6iZvOZiMuSSM86IKSpWmykAGulwr1DoOh_3kKi5scqT3gARyFGO rWO44BCpLkQahzSuGht6CEJOwGLgSRkqYN.c5mOnxKlEJCNWXQgLKbGCunBd0triMdnhnqM81OO6 Rl7C8hYB.9u07LL9Yv6lfK3KpjChQQ4xdUGbPJqwFnXXmC6wPj3TzabQXJgF.KNMyXurIqU29w1A qfntK5vXgeIuv.tlOmZn9r9EbO67PdBwzmnox_k8HoAFLoVohKDJA6B3KZioTSIW50kE2jGXIhmj 4GSnDY..ypI5gZsRVJSSE3SqQk6o75lAMz4kfQisvkI_CuB77HYzw.vNOkHpb9PqQerKGOG3AXVd dxFTKybUiIWaFw_rxCzF119V8XeIgEZooCP6sjPP3gFpgA3eZcZUwIAG.29z35CC1m8B3MLRS1Yn Mol7it209WV2dnx5fvctMyn6veUFzjvBm0sxRbvusAO97oYKlDHPo._i1Fzuai5C5L_Kd1J0Jz1z x8IrcM3ZQQDYyACWpB19heYyz1hXv6Iyh4rfZrO2bUI8MGNzYAx0s4M_ZX_eYtksMTlgXP.hf5xM NvNrBHVFJmznQ1zx56HZCk53Af.VSN8iunjODXZJIRsVjto6TlWEGFTGg7vi5wKewleUokclwRdF 3uYSr0DiSuaoBbKtqbfsDcsA0WhTE38sxGOktkprs.ge77q_wSmctmnqs_x9dImseLutU3sZwyrS OOebXdBnwRqxkmKamWl5LFKRTLf8P4OIGQZEm1w-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Tue, 31 Dec 2019 22:52:08 +0000 Received: by smtp423.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0d201687d6c8d1df5e90144631eb8e88; Tue, 31 Dec 2019 22:52:07 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: 32-bit powerpc kernel builds (head -r356187): old ld (works) vs. devel/binutils@powerpc based (fails to boot): DYNAMIC vs. EXEC_P Message-Id: Date: Tue, 31 Dec 2019 14:52:06 -0800 Cc: FreeBSD Toolchain To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47nV1653cBz3JL3 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.84)[-0.839,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.98)[-0.976,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[206.64.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (1.60), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.71), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Dec 2019 22:52:12 -0000 My attempt to buildkernel via devel/binutils@powerpc produces a kernel that gets a very early crash. Looking at the normal and alternate kernels a little shows. . . Old ld (and such): /boot/kernel/kernel: file format elf32-powerpc-freebsd /boot/kernel/kernel architecture: powerpc:common, flags 0x00000150: HAS_SYMS, DYNAMIC, D_PAGED start address 0x001001e0 . . . 00e7a034 l O *ABS* 00000000 .hidden _DYNAMIC Produced via (from kernel.full.meta): CMD @ld -m elf32ppc_fbsd -Bdynamic -T /usr/src/sys/conf/ldscript.powerpc = --secure-plt -pie --no-warn-mismatch --warn-common --export-dynamic = --dynamic-linker /red/herring -X -o kernel.full locore.o . . . devel/binutils@powerpc based: /boot/kerbad/kernel: file format elf32-powerpc-freebsd /boot/kerbad/kernel architecture: powerpc:common, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x00100200 00e7a034 l O .dynamic 00000000 _DYNAMIC Produced via (from kernel.full.meta): CMD @/usr/local/powerpc-unknown-freebsd13.0/bin/ld -m elf32ppc_fbsd = -Bdynamic -T /usr/src/sys/conf/ldscript.powerpc --secure-plt = --build-id=3Dsha1 -pie --no-warn-mismatch --warn-common = --export-dynamic --dynamic-linker /red/herring -X -o kernel.full locore.o . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)