From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 12 Feb 2007 00:33:58 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20070211213358.GA11722@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <45CE2167.5040900@altlinux.org> <20070210202323.GB11298@basalt.office.altlinux.org> <45CF7B69.10802@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <45CF7B69.10802@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] erlang: asking for a hint, possibly with --as-needed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 21:33:58 -0000 Archived-At: List-Archive: List-Post: --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 11, 2007 at 11:24:09PM +0300, Mikhail Yakshin wrote: > Dmitry V. Levin wrote: > > On Sat, Feb 10, 2007 at 10:47:51PM +0300, Mikhail Yakshin wrote: > >> =F1 =D4=D5=D4 =D7=DA=D1=CC=D3=D1 =C7=CC=CF=C2=C1=CC=D8=CE=CF =D0=C5=D2= =C5=CC=CF=D0=C1=DE=C9=D7=C1=D4=D8 Erlang > >=20 > > =FA=CE=C1=DE=C9=D4, =D7=D3=C5=CF=C2=DD=C5=C5 =D3=DE=C1=D3=D4=D8=C5 =CE= =C5 =DA=C1 =C7=CF=D2=C1=CD=C9. :) >=20 > =F1, =D0=CF=D6=C1=CC=D5=CA, =CE=C5 =D4=C1=CB =D3=C9=CC=D8=CE=CF =CF=D0=D4= =C9=CD=C9=D3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C=D4=CF = =CB=C1=CB=CF=CA-=D4=CF =C6=CC=C1=C7-=C8=C1=D2=C1=CB=D4=C5=D2=C9=D3=D4=C9=CB= =C1 > =D3=C9=D3=D4=C5=CD=D9. =EE=C5 =DA=CE=C1=C0, =C4=CF=CC=D6=C5=CE =CF=CE =C2= =D9=D4=D8 =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE =CF=CE =D5 =CE=C1=D3 =C9=CC=C9 =CE= =C5=D4 =C9 =DA=C1 =DE=D4=CF > =CF=D4=D7=C5=DE=C1=C5=D4 (=C7=D5=C7=CC =CF=C4=CE=CF=DA=CE=C1=DE=CE=CF=C7= =CF =CF=D4=D7=C5=D4=C1 =CE=C1 =DC=D4=CF=D4 =D7=CF=D0=D2=CF=D3 =CE=C5 =C4=C1= =C5=D4), =CE=CF, =D7 =C4=C1=CE=CE=CF=CD > =D3=CC=D5=DE=C1=C5, =CE=C1=D3=CB=CF=CC=D8=CB=CF =D1 =D0=D2=CF=D7=C5=D2=C9= =CC - =CE=C5 =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE. $ info libc 'Feature Test Macros' Macro: _REENTRANT Macro: _THREAD_SAFE If you define one of these macros, reentrant versions of several functions get declared. Some of the functions are specified in POSIX.1c but many others are only available on a few other systems or are unique to GNU libc. The problem is the delay in the standardization of the thread safe C library interface. Unlike on some other systems, no special version of the C library must be used for linking. There is only one version but while compiling this it must have been specified to compile as thread safe. > =F7=C9=C4=C9=CD=CF, =CE=C1 =D7=D3=C5=C8 =D4=C5=C8 =CD=C1=DB=C9=CE=C1=C8, = =C7=C4=C5 Erlang =D3=CF=C2=C9=D2=C1=C5=D4=D3=D1 =D0=CF=C4 Linux/BSD, =D3=D4= =CF=C9=D4 > =DC=D4=CF=D4 _REENTRANT =3D> =CE=C5=D4 =D4=C1=CB=CF=C7=CF =D0=CF=CE=D1=D4= =C9=D1, =CB=C1=CB __erl_errno =D7=CF=CF=C2=DD=C5? =E5=D3=D4=D8 > =CB=C1=CB=C9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=CE=C9=CD=C1=C0? =EE=C5=D4, --as-needed =CE=C1 =D3=C2=CF=D2=CB=D5 =D3=D4=C1=D4=C9=DE=C5=D3= =CB=C9=C8 =C2=C9=C2=CC=C9=CF=D4=C5=CB =CE=C5 =D7=CC=C9=D1=C5=D4, =D4=C1=CB =DE=D4=CF =D0=CF=D2=D1=C4=CF=CB =CC=C9=CE=CB=CF=D7=CB=C9 *.o-=C6= =C1=CA=CC=CF=D7 =D4=D5=D4 =CE=C5 =D7=C1=D6=C5=CE. --=20 ldv --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFz4vGfKvmrJ41Nh4RAgD/AJ0Vb6PGG55vRhAqO5ZiostaRZbkcACfRo9l ZgY1PU5ShzCKzOZmyvFDAr4= =PAoX -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--