From owner-freebsd-questions Mon Sep 9 4:52:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8437537B400 for ; Mon, 9 Sep 2002 04:52:48 -0700 (PDT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE32843E3B for ; Mon, 9 Sep 2002 04:52:47 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.sul.t-online.de by mailout03.sul.t-online.com with smtp id 17oN5w-0003N8-0K; Mon, 09 Sep 2002 13:52:44 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.229.217.81]) by fmrl03.sul.t-online.com with esmtp id 17oN7f-1wQJvsC; Mon, 9 Sep 2002 13:54:31 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.5/8.12.5) with ESMTP id g89BqdZq081142; Mon, 9 Sep 2002 13:52:39 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g89BqcqO001424; Mon, 9 Sep 2002 13:52:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 9 Sep 2002 13:52:37 +0200 From: Alexander Leidinger To: martin.kahlert@infineon.com Cc: freebsd-questions@FreeBSD.org Subject: Re: first icc did not start, now it does not stop... Message-Id: <20020909135237.4094feff.Alexander@Leidinger.net> In-Reply-To: <20020909085912.A10105@keksy.muc.infineon.com> References: <20020903081616.A12893@keksy.muc.infineon.com> <20020903151528.GB77952@xor.obsecurity.org> <20020903185957.301810ec.Alexander@Leidinger.net> <20020904083415.A5569@keksy.muc.infineon.com> <20020904161734.2f264cd1.Alexander@Leidinger.net> <20020909085912.A10105@keksy.muc.infineon.com> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 9 Sep 2002 08:59:12 +0200 Martin Kahlert wrote: > > > I do not understand, how Linux compatibility works in FreeBSD: > > > How does the runtime linker know that the executable is a Linux > > > executable and translate /lib/libc* into /compat/linux/libc*? > > > > man brandelf > And vi `which icc` ;-) This explicitly sets PATH/LD_LIBRARY_PATH. Only if you have an empty one, else it prepends the bin and lib dir to the existing value. > > > Alexander, did you set LM_LICENSE_FILE to anything? > > > > No. Just put it into /usr/local/intel/licenses/, mine is name > > l_cpp_.lic. 'file' says it's a 'RiscOS PackdDir > > archive'. > Mine is a simple ASCII text file. Mine too, but file thinks it's an RiscOS PackdDir archive. > Did you add an additional SERVER and/or DAEMON line to the license > file? If not, how do you start lmgrd.intel? No, I haven't, and I don't start lmgrd.intel. I just installed my port and run icc (with the apropriate license). > > > BTW: What is FreeBSD's equivalent command to Linux's strace -f? > > man ktrace > Thanks a lot. BTW: What do the 'NAMI' lines mean? Looks like name info > but from what? Files to open (not neccessary by open(2)). > Here is what i tried: > - I exported LD_LIBRRAY_PATH/PATH as in the icc shell script. > - i started > ktrace -d -i iccbin -E t.c > kdump > dmp > > I append the file dmp. As far as i can tell, the compiler never reads > t.c! It loops somewhere before that. I think it opens it from /tmp. > I checked something else: > gcc -c t.c > icc -o t t.o > This works fine. Your test also works fine here with icc. > The problem seems to be the C preprocessor. > But as my t.c file does not even need it, it is not a header problem. > mcpcom just continues looping :-( I don't have a glue what to check now... maybe recompiling the world/kernel without additional optimizations if you use further optimization flags in /etc/make.conf, or compiling it with optimizations if it is compiled with the default options. I assume you reinstalled the new linux-base (7.1) with a clean /compat/linux. If you haven't done that, you should deinstall every linux port and make sure, your /compat/linux is empty. Bye, Alexander. -- Secret hacker rule #11: hackers read manuals. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message