From owner-freebsd-ports@FreeBSD.ORG Sun Feb 27 21:23:56 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2059106564A for ; Sun, 27 Feb 2011 21:23:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 41FD28FC13 for ; Sun, 27 Feb 2011 21:23:55 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1RL0Q08065313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Feb 2011 23:00:26 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1RL0QCo009639; Sun, 27 Feb 2011 23:00:26 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1RL0QHG009638; Sun, 27 Feb 2011 23:00:26 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 27 Feb 2011 23:00:26 +0200 From: Kostik Belousov To: Stephen Montgomery-Smith Message-ID: <20110227210026.GG78089@deviant.kiev.zoral.com.ua> References: <20110225094102.GH21668@droso.net> <4D6AB2E6.1000107@missouri.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R73qF6UOoHzMotJv" Content-Disposition: inline In-Reply-To: <4D6AB2E6.1000107@missouri.edu> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-ports@freebsd.org Subject: Re: multiple definition of `__i686.get_pc_thunk.bx' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:23:57 -0000 --R73qF6UOoHzMotJv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 27, 2011 at 02:24:06PM -0600, Stephen Montgomery-Smith wrote: > I am the maintainer of the port vis5d+. I just got this email (copied=20 > below) saying that vis5d+ isn't building right now. >=20 > The issue seems to be that some reference to __i686.get_pc_thunk.bx is=20 > included twice at some point. This variable seems to be part of an=20 > object file crtbeginS.o that is created by gcc or gcc45, in what seem to= =20 > me to be very mysterious conditions. I am rather sure that the issue=20 > has nothing to do with vis5d+, but rather is something to do with either= =20 > gcc45, or libtools, neither of which I understand. >=20 > Does anyone out there have any idea of what the problem is, or how it=20 > can be solved? Most likely, you compile source with gcc45, but link it with system c++, or libtool constructed linkage command as if for system c++. Use consistent toolchain for compilation and linking. >=20 >=20 > Erwin Lansing wrote: >=20 > Subject: Re: [ports-i386@FreeBSD.org: vis5d+-1.2.1_15 failed on i386 8] >=20 > > > >FYI; can you please investigate and/or report to the developers? If > >you are already aware of this problem but do not yet have a fix, > >please mark the port BROKEN in the appropriate case, so that users do > >not unexpectedly encounter it. > > > >See http://pointyhat.freebsd.org for the full log. > > > >Thanks, > >-erwin > > > >----- Forwarded message from User Ports-i386 --= --- > > > >Date: Thu, 24 Feb 2011 02:48:11 GMT > >From: User Ports-i386 > >To: erwin@FreeBSD.org, miwi@FreeBSD.org, itetcu@FreeBSD.org,=20 > >linimon@FreeBSD.org > >Subject: vis5d+-1.2.1_15 failed on i386 8 > > > >Excerpt from the build log at > > > > http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20110223062= 852/vis5d+-1.2.1_15.log >=20 > ......................................... >=20 > > > >libtool: compile: gcc45 -DHAVE_CONFIG_H -I. -I. -I.. -I.=20 > >-I/usr/local/include -O2 -pipe -DMIX_ANSI_IOSTREAMS -fPIC -fpermissive= =20 > >-Wl,-rpath=3D/usr/local/lib/gcc45 -fno-strict-aliasing -std=3Dgnu89 -Wal= l=20 > >-D_THREAD_SAFE -c xdump.c -MT xdump.lo -MD -MP -MF .deps/xdump.TPlo -o= =20 > >xdump.o>/dev/null 2>&1 > >/bin/sh /usr/local/bin/libtool --mode=3Dlink g++45 -O2 -pipe=20 > >-DMIX_ANSI_IOSTREAMS -fPIC -fpermissive -Wl,-rpath=3D/usr/local/lib/gcc4= 5=20 > >-fno-strict-aliasing -L/usr/local/lib -L/usr/local/lib -pthread=20 > >-Wl,-rpath=3D/usr/local/lib/gcc45 -o libvis5d.la -rpath /usr/local/lib= =20 > >-version-info 2:0:0 api.lo analysis.lo anim.lo box.lo chrono.lo =20 > >compute.lo contour.lo groupchrono.lo globals.lo graphics.all.lo grid.lo= =20 > >image.lo imemory.lo map.lo matrix.lo linterp.lo memory.lo misc.lo=20 > >mwmborder.lo proj.lo queue.lo render.lo rgb.lo record.lo save.lo=20 > >socketio.lo stream.lo sounding.lo sync.lo tclsave.lo textplot.lo topo.l= o=20 > >traj.lo user_data.lo volume.lo vtmcP.lo work.lo sgidump.lo decimate.lo= =20 > >analyze_i.lo file_i.lo grid_i.lo misc_i.lo output_i.lo proj_i.lo =20 > >projlist_i.lo read_epa_i.lo read_gr3d_i.lo read_grid_i.lo read_grads_i.= lo=20 > >read_uwvis_i.lo read_v5d_i.lo resample_i.lo select_i.lo tokenize_i.lo= =20 > >iapi.lo file.lo irregular_v5d.lo gl_to_ppm.lo graphics.ogl.lo=20 > >graphics.scenes.lo graphics > .v > > rml.lo xdump.lo -lm -lgfx > >libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.= o =20 > >.libs/api.o .libs/analysis.o .libs/anim.o .libs/box.o .libs/chrono.o=20 > >.libs/compute.o .libs/contour.o .libs/groupchrono.o .libs/globals.o=20 > >.libs/graphics.all.o .libs/grid.o .libs/image.o .libs/imemory.o=20 > >.libs/map.o .libs/matrix.o .libs/linterp.o .libs/memory.o .libs/misc.o= =20 > >.libs/mwmborder.o .libs/proj.o .libs/queue.o .libs/render.o .libs/rgb.o= =20 > >.libs/record.o .libs/save.o .libs/socketio.o .libs/stream.o=20 > >.libs/sounding.o .libs/sync.o .libs/tclsave.o .libs/textplot.o=20 > >.libs/topo.o .libs/traj.o .libs/user_data.o .libs/volume.o .libs/vtmcP.o= =20 > >.libs/work.o .libs/sgidump.o .libs/decimate.o .libs/analyze_i.o=20 > >.libs/file_i.o .libs/grid_i.o .libs/misc_i.o .libs/output_i.o=20 > >.libs/proj_i.o .libs/projlist_i.o .libs/read_epa_i.o .libs/read_gr3d_i.o= =20 > >.libs/read_grid_i.o .libs/read_grads_i.o .libs/read_uwvis_i.o=20 > >.libs/read_v5d_i.o .libs/resample_i.o .libs/select_i.o .libs/tokenize_i.= o=20 > >.libs/iapi.o .libs/file.o .libs/irregu > la > > r_v5d.o .libs/gl_to_ppm.o .libs/graphics.ogl.o .libs/graphics.scenes.o= =20 > > .libs/graphics.vrml.o .libs/xdump.o -L/usr/local/lib -pthread -lgfx= =20 > > -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o= =20 > > -Wl,-rpath=3D/usr/local/lib/gcc45 -pthread -Wl,-rpath=3D/usr/local/lib= /gcc45=20 > > -pthread -pthread -pthread -Wl,-soname -Wl,libvis5d.so.2 -o=20 > > .libs/libvis5d.so.2 > >.libs/api.o(.text.__i686.get_pc_thunk.bx+0x0): In function=20 > >`__i686.get_pc_thunk.bx': > >: multiple definition of `__i686.get_pc_thunk.bx' > >/usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first= =20 > >defined here > >*** Error code 1 > > > >Stop in /work/a/ports/science/vis5d+/work/vis5d+-1.2.1/src. > >*** Error code 1 > > > >Stop in /work/a/ports/science/vis5d+/work/vis5d+-1.2.1/src. > >*** Error code 1 > > > >Stop in /work/a/ports/science/vis5d+/work/vis5d+-1.2.1. > >*** Error code 1 > > > >Stop in /work/a/ports/science/vis5d+/work/vis5d+-1.2.1. > >*** Error code 1 > > > >Stop in /a/ports/science/vis5d+. > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >build of /usr/ports/science/vis5d+ ended at Thu Feb 24 02:47:46 UTC 2011 > > > >!DSPAM:4d65c6f0315011692978788! > > > > > >----- End forwarded message ----- >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --R73qF6UOoHzMotJv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1qu2kACgkQC3+MBN1Mb4gPFACgi3V/Nbvtf58N7FVw+brQqOxC VTUAn3FKQaGiwLjtfbjhzDHJqxSbtwy+ =ZRub -----END PGP SIGNATURE----- --R73qF6UOoHzMotJv--