From owner-cvs-all Wed Mar 27 9: 6:14 2002 Delivered-To: cvs-all@freebsd.org Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by hub.freebsd.org (Postfix) with ESMTP id 8AF4A37B419; Wed, 27 Mar 2002 09:06:06 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout09.sul.t-online.com with smtp id 16qGs9-00068m-02; Wed, 27 Mar 2002 18:06:05 +0100 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.30.226]) by fmrl06.sul.t-online.com with esmtp id 16qGs0-0KVW9AC; Wed, 27 Mar 2002 18:05:56 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g2RH5lh3053984; Wed, 27 Mar 2002 18:05:51 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200203271705.g2RH5lh3053984@Magelan.Leidinger.net> Date: Wed, 27 Mar 2002 18:05:47 +0100 (CET) From: Alexander Leidinger Subject: Re: ports/lang/icc To: roberto@ns2.freenix.org Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG In-Reply-To: <20020327162420.GA19918@ns2.freenix.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 Mär, Ollivier Robert wrote: > According to Alexander Leidinger: >> If someone is interested in the itanium cross compiler (ecc), it should >> be straight forward to generate a port for it based upon this port. > > Speaking of icc, have you encountered the following kind of error? It > seems that when the source has some functions like memset, it generates Are you sure? I was able to compile libmp3lame.so, and LAME uses memset a lot in the library. > calls to some functions that are in libcxa.so and tries to link in a > linux shared lib (and fail of course). > > cc -O -pipe -DGTAGS -DSYSV_CURSES -I/src/src/usr.bin/vi > -I/src/src/usr.bin/vi/../../contrib/nvi > -I/src/src/usr.bin/vi/../../contrib/nvi/include -o nvi cl_bsd.o > [...] > v_xchar.o v_yank.o v_z.o v_zexit.o vi.o vs_line.o vs_msg.o vs_refresh.o > vs_relative.o vs_smap.o vs_split.o -lncurses > -L/usr/local/intel/compiler50/ia32/lib -lcxa [errors about missing GLIBC function symbols] You have to try to circumvent this. Either by specifying other compiler options (some processor specific optimisation options may trigger it) or by searching these symbols in different libraries. I was able to find some needed symbols in multiple libraries. Bye, Alexander. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. 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 cvs-all" in the body of the message