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 [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 2070D385041C for ; Fri, 19 Mar 2021 04:35:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2070D385041C Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-497-vC6mqGRqO7WivdEa9OabUg-1; Fri, 19 Mar 2021 00:35:20 -0400 X-MC-Unique: vC6mqGRqO7WivdEa9OabUg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DBE328189C8; Fri, 19 Mar 2021 04:35:19 +0000 (UTC) Received: from rhel8.vm.delorie.com (ovpn-118-168.rdu2.redhat.com [10.10.118.168]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ACD0F5C1BB; Fri, 19 Mar 2021 04:35:19 +0000 (UTC) Received: from rhel8.vm.redhat.com (localhost [127.0.0.1]) by rhel8.vm.delorie.com (8.15.2/8.15.2) with ESMTPS id 12J4ZITU215072 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 19 Mar 2021 00:35:18 -0400 From: DJ Delorie To: "H.J. Lu" Cc: libc-alpha@sourceware.org Subject: Re: tunables vs osxsave vs checkpointing vs _dl_runtime_resolve In-Reply-To: (hjl.tools@gmail.com) Date: Fri, 19 Mar 2021 00:35:18 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2021 04:35:24 -0000 "H.J. Lu" writes: > Try this. close... fixed osxsave, broke xsavec (gdb) set env GLIBC_TUNABLES=glibc.cpu.hwcaps=-OSXSAVE (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: ... /home/dj/criu-test --direct Breakpoint 4, _dl_runtime_resolve_fxsave () at ../sysdeps/x86_64/dl-trampoline.h:72 72 pushq %rbx # push subtracts stack by 8. (gdb) set env GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVE (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: ... /home/dj/criu-test --direct Breakpoint 3, _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:72 72 pushq %rbx # push subtracts stack by 8. (gdb) set env GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: ... /home/dj/criu-test --direct Breakpoint 3, _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:72 72 pushq %rbx # push subtracts stack by 8. (gdb)