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 96B2A3858C00 for ; Sat, 29 Jul 2023 13:16:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 96B2A3858C00 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=1690636613; 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=n3iJEHrZbADWb0hAEMPmW7Z1XqK6siEfNRA7QcTXqYc=; b=Y19DgfVIG63KMQd6s6a/0qc1QGDbKeovQklM+vQVNcRiC/phTNgfiX8rU4T+TDgs0O/J8q zzDIE/Az3sgmLZW7FX29j4SZpv0zQmtrmf75UgKvW5ibRpapYsB/p4MLRXcJOLgBpMqjWX jdJEKaapE/Cfrdk0cTGf7knGx/BdvQ0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-679-0mmAITcsNH691f84YYBkIA-1; Sat, 29 Jul 2023 09:16:49 -0400 X-MC-Unique: 0mmAITcsNH691f84YYBkIA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DEFBE800B35; Sat, 29 Jul 2023 13:16:48 +0000 (UTC) Received: from redhat.com (unknown [10.22.8.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CE32D492B02; Sat, 29 Jul 2023 13:16:48 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94.2) (envelope-from ) id 1qPjoO-0002bl-0k; Sat, 29 Jul 2023 09:16:48 -0400 Date: Sat, 29 Jul 2023 09:16:47 -0400 From: "Frank Ch. Eigler" To: wei gong Cc: systemtap@sourceware.org Subject: Re: Using systemtap in an Environment with Multiple Versions of glibc Message-ID: <20230729131647.GB5602@redhat.com> References: <87cz0bu9g4.fsf@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi - > > stap --ldd -d /opt/compiler/gcc-8.2/usr/lib/libc.so.6 -d > /opt/compiler/gcc-8.2/lib/ld-linux-x86-64.so.2 -d > /opt/compiler/gcc-8.2/lib64/ld-linux-x86-64.so.2 -e 'probe > process("myapp").function("func_name").call {print_ubacktrace()}' > WARNING: module /home/opt/compiler/gcc-8.2/lib/libc-2.21.so --ldd skipped: > unsupported interpreter: /opt/compiler/gcc-8.2/lib/ld-linux-x86-64.so.2 > WARNING: module myapp --ldd skipped: unsupported interpreter: > /opt/compiler/gcc-8.2/lib64/ld-linux-x86-64.so.2 Ah yeah. Having a custom ld.so like that is unusual. Sorry I didn't realize this aspect of your situation. You could try running ldd yourself on your binary, and manually add "-d /opt/compiler/..../lib..." flags for each. - FChE