From owner-freebsd-hackers@freebsd.org Thu Dec 15 08:20:20 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19C4EC81E83 for ; Thu, 15 Dec 2016 08:20:20 +0000 (UTC) (envelope-from mj@bsdops.com) Received: from da.strony-domeny.pl (da.strony-domeny.pl [178.32.204.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D698FDFC for ; Thu, 15 Dec 2016 08:20:19 +0000 (UTC) (envelope-from mj@bsdops.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bsdops.com; s=x; h=Message-ID:Reply-To:Subject:To:From:Date:Content-Transfer-Encoding: Content-Type:MIME-Version; bh=8mB2uhiU9i/XunTJqHPrPZeKEorX3d0wc0nO+p/G2Lg=; b=m6Vjktrnet0ildtD6hoCSKDa8CGrq9AOeXnVkvYn3R8NjfelQl170XMNE2bTWcuU8CqwG0qpSh jgpUKoPTJA5txVrnWKoxlZas8ZWM8R950wJm2GtdSQP5MPdp5MwM1aehdmvS3MjgX29FzFbJfpI0S ccyuzM8Vxhq6hZLvxj0TShMP91QcqKzNPa8I+kaE08cDc46Ix4hA7eaTh6aweChQ974dNpM7HJl1w 6zi7OfvuRCOdZBuW4aCzAqMUne2zk96e/4MFMAI3uCBHEgvtosBagiiTszS5DLBEc1ev1PDko2NtN erjD7PYxvRx0hp4n1uOg5YImYnaBmjs+KZFuQ==; Received: from [127.0.0.1] (helo=da.strony-domeny.pl) by da.strony-domeny.pl with esmtpa (Exim 4.86) (envelope-from ) id 1cHRGy-000KON-EH for freebsd-hackers@freebsd.org; Thu, 15 Dec 2016 09:20:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 15 Dec 2016 09:20:08 +0100 From: =?UTF-8?Q?Micha=C5=82_J=C4=99drzejczak?= To: freebsd-hackers@freebsd.org Subject: gdb 32bit app under 64bit system Organization: BSDops.com Reply-To: mj@bsdops.com Mail-Reply-To: mj@bsdops.com Message-ID: <4b6a32cd221a310de2e10cd18cb1b9cf@bsdops.com> X-Sender: mj@bsdops.com User-Agent: Roundcube Webmail/1.2.3 X-Authenticated-Id: mj@bsdops.com X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 08:20:20 -0000 Hello list. I've question about debugging an application that is compile with -m32 and can not be debugging under FreeBSD 10.0 amd64 with gdb761. During debug by gdb I had this error : warning: `/libexec/ld-elf.so.1': Shared library architecture i386:x86-64 is not compatible with target architecture i386. warning: .dynamic section for "/libexec/ld-elf.so.1" is not at the expected address (wrong library or version mismatch?) [New Thread 298030b429803080 (LWP 100109)] Error while reading shared library symbols for /usr/lib32/libthr.so.3: Cannot find new threads: generic error Did you have any ideas what way can I go . Regards MJ