Date: Thu, 23 Aug 2007 08:23:32 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Boris Kovalenko <boris@ntmk.ru> Cc: freebsd-ports@freebsd.org Subject: Re: can not find -lgcc_s Message-ID: <20070823052332.GM2738@deviant.kiev.zoral.com.ua> In-Reply-To: <46CD1688.6020308@ntmk.ru> References: <46CC0550.8080209@ur.evraz.com> <20070822110302.GH2738@deviant.kiev.zoral.com.ua> <46CD03C0.9080002@ntmk.ru> <20070823042721.GK2738@deviant.kiev.zoral.com.ua> <46CD1688.6020308@ntmk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--z/Afwxf5lq3fyHJe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 23, 2007 at 11:09:28AM +0600, Boris Kovalenko wrote: > Hello! >=20 > boris# cc -v -r -o common.o stream.o config.o memory.o > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.0 20070514 [FreeBSD] > /usr/bin/ld --eh-frame-hdr -V -dynamic-linker /libexec/ld-elf.so.1 -o=20 > common.o -r /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o=20 As expected, cc passed -r to linker, and tried to link executable. > -L/usr/lib -L/usr/lib stream.o config.o memory.o -lgcc --as-needed=20 > -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed=20 > /usr/lib/crtend.o /usr/lib/crtn.o > GNU ld version 2.15 [FreeBSD] 2004-05-23 > Supported emulations: > elf_i386_fbsd > elf_x86_64_fbsd > /usr/bin/ld: cannot find -lgcc_s >=20 >=20 > ld -r -o common.o stream.o config.o memory.o This seems to be right. > ld -shared -L/usr/lib -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o= =20 > -pthread There, change ld to cc. > ld: unrecognized option '-pthread' > ld: use the --help option for usage information >=20 > IMHO, the resin3 in not ready for separate cc/ld compilation. But what=20 > type of workaround may I try to use? --z/Afwxf5lq3fyHJe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGzRnUC3+MBN1Mb4gRAm9YAJ9iNW5D9qVc9ibf1KWFDhD0nAf6AQCgyD9D O8qVkA7hif+GXNXCSo4maxY= =Ojdt -----END PGP SIGNATURE----- --z/Afwxf5lq3fyHJe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070823052332.GM2738>