Re: gcc 4.8.0 Ada error

"John E. / TDM" <[email protected]> Mon, 08 Apr 2013 15:36:04 -0600
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
On 4/8/2013 3:17 PM, arthur wrote:
> Do you know what may cause the error below. Thanks.
*snipped undefined references to atomic functions building gnatlib*

Yes, I discovered that breaking change while building GCC 4.8.0. I'm not 
completely sure how to fix it, and I'm not very familiar with GCC's 
atomic function implementations, but my best guess is that the functions 
mentioned aren't implemented for i386 MinGW. I was able to build with 
i686-pc-mingw32 as the target, probably because i686 has these functions 
as intrinsics.

There are three possible solutions that come to mind:
1. Implement the missing atomic functions using MS Windows API functions.
2. Rewrite gnatlib not to use these builtin atomic functions.
3. Build GCC to target i686-pc-mingw32 and leave the i386 family behind 
for good.

Hope that helps,
John E. / TDM

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html