X-Original-To: alpine-devel@lists.alpinelinux.org Received: from cdptpa-cmomta03.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by lists.alpinelinux.org (Postfix) with ESMTP id 96641F856F1 for ; Tue, 15 Jan 2019 08:27:18 +0000 (UTC) Received: from [192.168.100.140] ([98.151.6.58]) by cmsmtp with ESMTP id jK42g7RA29ySqjK45gQhCr; Tue, 15 Jan 2019 08:27:18 +0000 From: Dean Takemori Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: [alpine-devel] main/gcc - 003_all_default-fortify-source.patch wording Message-Id: <0692BD36-A5E2-4C13-A3A2-955432FDBBC5@hawaii.rr.com> Date: Mon, 14 Jan 2019 22:27:13 -1000 To: Alpine Development X-Mailer: Apple Mail (2.3445.102.3) X-CMAE-Envelope: MS4wfEbBVAjqb7drTVrFp8FS2Fg9DE8/dIIP5/VK//FO7xC1OnX/TF+umQjTkVyyBu+YRdjeTLOQhlR7Bl5XnYKDbZzP3uzNhUkWvnO8bclBRFSD7yPD1S2a IDCT2h8864XbC5iP2N4lIwv3iVYr7LC5c1ki6tVdYinUWFMWmSA+Qy4oTggDdq2otZ+HUwCNqhn76w== main/gcc - 003_all_default-fortify-source.patch=20 The text in the .texi part of the patch +NOTE: In Alpine Linux, @option{-D_FORTIFY_SOURCE=3D2} is +set by default, and is activated when @option{-O} is set to 2 = or higher. and the code/comment part of the patch + /* Fortify Source enabled by default for optimization levels > = 0 */ + if (optimize) + builtin_define_with_int_value ("_FORTIFY_SOURCE", 2); don=E2=80=99t seem to match. It=E2=80=99s unclear if the intention of the patch is to set = FORTIFY_SOURCE on at -O/-O1 and higher or -O2 and higher, but either the = documentation or the code needs to be fixed= --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---