delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/27/15:09:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CD325C.5030109@users.sourceforge.net>
Date: Fri, 27 Mar 2009 15:09:00 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: gcc4: missing atomic builtins?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dave,

Building djvulibre-3.5.21 with gcc4, while linking libdjvulibre:

.libs/atomic.o:atomic.cpp:(.text+0x3b): undefined reference to
`___sync_bool_compare_and_swap_4'
.libs/atomic.o:atomic.cpp:(.text+0x65): undefined reference to
`___sync_add_and_fetch_4'

Some googling shows that the culprit *may be* gcc4:

http://sourceware.org/ml/crossgcc/2008-06/msg00022.html

Any ideas?


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAknNMlwACgkQpiWmPGlmQSMzYwCg4EVtxHSvT98JxVKq4LLdXio6
VhMAmgJxWtOTYCeLGay2ZG2lN7B/0yJP
=RJil
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019