From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12693 invoked by alias); 17 Jul 2007 21:02:26 -0000 Received: (qmail 12670 invoked by uid 48); 17 Jul 2007 21:02:16 -0000 Date: Tue, 17 Jul 2007 21:02:00 -0000 Message-ID: <20070717210216.12669.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgomp/32798] Multiple definitions of __flockfile when compiling an openMP program In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01883.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-17 21:02 ------- One should note that static linking glibc is not really supported anyways. Also this is not a GCC bug but rather a glibc one: /usr/lib/../lib64/libpthread.a(lockfile.o)(.text+0xb0): In function `__flockfile': /usr/src/packages/BUILD/glibc-2.3/linuxthreads/lockfile.c:29: multiple definition of `_IO_flockfile' /usr/lib/../lib64/libc.a(flockfile.o)(.text+0x0):../linuxthreads/sysdeps/pthread/flockfile.c:30: first defined here -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Status|UNCONFIRMED |RESOLVED Component|c |libgomp Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32798