From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id CB0A63857733 for ; Mon, 10 Jul 2023 05:57:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB0A63857733 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688968647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6gu1Dj+QoGNPZfBeQ+AThBTrhcyHuQJb5iGZy+xS4Nc=; b=aYiIx+sB9vk62XTfWsjo6QHDxWKkB89nMEt1oF3EXnvyGiGXrVYJdZPe7reSYf+qUnkR62 VJu24e4J93/m/2o36LrQhnVdsXCVAiXko12o0QqAverZoFvH4//quh3I5WroHeTrBeP7Io kKonzlWH3+qyVK3dAkLm12giOabrN0k= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-519-gVvj9iY-MFaVidavymz2Yw-1; Mon, 10 Jul 2023 01:57:25 -0400 X-MC-Unique: gVvj9iY-MFaVidavymz2Yw-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-993c2d9e4a0so245871966b.2 for ; Sun, 09 Jul 2023 22:57:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688968644; x=1691560644; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6gu1Dj+QoGNPZfBeQ+AThBTrhcyHuQJb5iGZy+xS4Nc=; b=LlnOCpfiXtMfga2wka4ce9z7KUZ8ts2z4DdDPDnFDdCMgCzkYQa5Htocg81Hf8w5tK hrvhtWTsJk0/pdghdmaEWHunJdruujC/vZUH0Ymxvm0zS60HQ26S2QVnMUpqW1bZdZie TuRXmQYg3YCUlng+WPy+mOoZow9Ad0EEJ33pA3N8vQo04jdXwGnfzxSUZvA0I76SYXf2 37w9eT+TYxn/4uFfbozrRb7BS20JlCbWZY6TNVAsClM+ZUE+l6aXkEfUa5cu+W6g9bPX tv+zefnQTwjB2VpqDmHAT9vQ0nGJfPKYbe589eszqAdFNshcgiL6yXPFogTsBHk7KbwQ wlBQ== X-Gm-Message-State: ABy/qLY88Sqrh49B96tcHnR/bjplsNBLAkYBdcuWZhqbjTHct5pRRgq/ +T5HW/TBKE5i5UIF8gD/38C8lmwQbdEXkcgMRf+5/PhEcw17eIE7lu5w/YE0NxMi/L/KAnQhoWd FscZKO9vh8iujaszKH9pp5Gp/Ml+V+Ie1KtG+ X-Received: by 2002:a17:906:2205:b0:988:fea3:ae56 with SMTP id s5-20020a170906220500b00988fea3ae56mr13390864ejs.0.1688968644481; Sun, 09 Jul 2023 22:57:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAQPp4PEI6XFArBt/XpozL0C3CHIOxJ3yWKYgA7eZuTgYDPO9xG6cNfre0OuGhz65D59ftfbZHHYgFogXCKPA= X-Received: by 2002:a17:906:2205:b0:988:fea3:ae56 with SMTP id s5-20020a170906220500b00988fea3ae56mr13390835ejs.0.1688968644179; Sun, 09 Jul 2023 22:57:24 -0700 (PDT) MIME-Version: 1.0 References: <20230705143822.275049-1-fberat@redhat.com> In-Reply-To: From: Frederic Berat Date: Mon, 10 Jul 2023 07:57:13 +0200 Message-ID: Subject: Re: [PATCH v6 00/14] Allow glibc to be built with _FORTIFY_SOURCE To: Andreas Schwab Cc: =?UTF-8?B?RnLDqWTDqXJpYyBCw6lyYXQgdmlhIExpYmMtYWxwaGE=?= , siddhesh@gotplt.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="00000000000012cb7106001ba81f" X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000012cb7106001ba81f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 6, 2023 at 3:15=E2=80=AFPM Andreas Schwab wrot= e: > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:gli= bc/glibc/f/i586 > > gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs > -Wl,-dynamic-linker=3D/lib/ld-linux.so.2 -Wl,-z,pack-relative-relocs > -B/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/ > -Wl,--version-script=3D/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5= 324d25842/cc-base/libc.map > -Wl,-soname=3Dlibc.so.6 -Wl,-z,relro -Wl,-z,now -nostdlib -nostartfiles -e > __libc_main > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlf= cn > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/res= olv > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mat= hvec > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/sup= port > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -Wl,-rpath-link=3D/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d2= 5842/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc= -base/math:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-b= ase/elf:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base= /dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/= nss:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis= :/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt:/ho= me/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv:/ho= me/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec:/h= ome/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support:/= home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.= so > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/a= bi-note.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_= pic.os.clean > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/i= nterp.os > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/l= d.so > -lgcc > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/s= ofini.os > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_= pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/libio/../stri= ng/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_= pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../str= ing/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../str= ing/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_= pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/= bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/= bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_= pic.os.clean:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io= /../string/bits/string_fortified.h:36: > more undefined references to `__GI___memmove_chk' follow > collect2: error: ld returned 1 exit status > make[2]: *** [../Makerules:647: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.= so] > Error 1 > make[2]: Leaving directory > '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/elf' > make[1]: *** [Makefile:484: elf/subdir_lib] Error 2 > make: *** [Makefile:9: all] Error 2 > > Hello, Please review https://patchwork.sourceware.org/project/glibc/patch/20230706172047.528695-= 1-fberat@redhat.com/ > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." > > --00000000000012cb7106001ba81f--