From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by sourceware.org (Postfix) with ESMTPS id 4EA5B3858D37 for ; Tue, 1 Mar 2022 23:23:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4EA5B3858D37 Received: by mail-yb1-xb2c.google.com with SMTP id f38so18549571ybi.3 for ; Tue, 01 Mar 2022 15:23:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1ENlICYEsuGrZKafarWW+hkDdQvrxdCHDhPw18eIeTg=; b=tQ0fVmIB3gikoRvYuPjyaKJc0fdCFUwvejdl4uiocy16L+kKMZ4JSyL04QKZpxcRcp t07b8d7C5iYara+7kMKsZBqUBcICp3k8mibQreYKREIh0Je/TRYN3wdyWWOu/EqTLum9 JL0A8vM9p2lb28E8ysijT45IV+Hjj1Ko6FoXLcHAW4ke7Dzd3V8psMCq+pOAS8LfE+xi DFbyy6/AccaezZhygeR/0I91Drpo+WWaDW7vpl5uV9PuO7z6zAI62DwGYv1CJ+VTCKlo ZTCM0uHA7ri3NIJOOXpK1DuK14sQBsKWWCKbHnYfZ1rHlOeC32puHLVn1sBz7aLcNOz9 uMBw== X-Gm-Message-State: AOAM5323kf3c2OEAqAkh+GPlGBMMQQEju/6F3OIsm8qkqZx026ja5wNi 7ips4KyXnW5qgVdfL2jKMsBt/3epDRi3i7sev1JsYZ90vIk= X-Google-Smtp-Source: ABdhPJzHsY9ndCu+gsaHKouOUttF4hRbo4UOhELixeNqq8AKFVxSLOcpLmODThXcNf7bleCWUQogAuwV06SubiHGj2o= X-Received: by 2002:a5b:50c:0:b0:61d:d249:d9b1 with SMTP id o12-20020a5b050c000000b0061dd249d9b1mr25938110ybp.300.1646177000707; Tue, 01 Mar 2022 15:23:20 -0800 (PST) MIME-Version: 1.0 From: Reinoud Koornstra Date: Tue, 1 Mar 2022 15:23:08 -0800 Message-ID: Subject: Fortify_source and stack-protector-strong To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2022 23:23:22 -0000 Hello Everyone, Is it possible to compile with -stack-protector-strong and FORTIFY_SOURCE=1 or =2? Or should both be used exclusively from another? Both check for similar things. Thanks, Reinoud.