Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 17:24:21 +0100
From:      Ollivier Robert <roberto@ns2.freenix.org>
To:        cvs-all@freebsd.org, cvs-committers@FreeBSD.ORG
Subject:   Re: ports/lang/icc
Message-ID:  <20020327162420.GA19918@ns2.freenix.org>
In-Reply-To: <200203271102.g2RB2Xh3014260@Magelan.Leidinger.net>
References:  <20020326200427.GA17467@hades.hell.gr> <200203271102.g2RB2Xh3014260@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
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
/usr/libexec/elf/ld: warning: libc.so.6, needed by
/usr/local/intel/compiler50/ia32/lib/libcxa.so, not found (try using
-rpath or -rpath-link)
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`free@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`calloc@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`fputs@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`malloc@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`__cxa_finalize@GLIBC_2.1.3'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`fprintf@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`__cxa_atexit@GLIBC_2.1.3'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`stderr@GLIBC_2.0'
/usr/local/intel/compiler50/ia32/lib/libcxa.so: undefined reference to
`abort@GLIBC_2.0'
*** Error code 1

-- 
Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- Ollivier.Robert@eurocontrol.fr
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #6: Thu Aug 10 17:36:11 CEST 2000

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327162420.GA19918>