Re: gcc 4.8.0 Ada error

arthur <[email protected]> Wed, 10 Apr 2013 12:29:10 -0400
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
On 09/04/2013 10:05 PM, Cesar Strauss wrote:
>> FYI: I am testing with the configure below (added: --with-arch=i486
>> --with-tune=i686).

FYI: With above settings, it failed too but there are less undefined 
references:

s-atopri.o: In function `system__atomic_primitives__lock_free_read_64':
e:\test1\bd\wk\build\gcc\ada\rts/s-atopri.adb:80: undefined reference to 
`__atomic_load_8'
s-atopri.o: In function `system__atomic_primitives__lock_free_try_write_64':
e:\test1\bd\wk\build\gcc\ada\rts/s-atopri.adb:188: undefined reference 
to `__sync_val_compare_and_swap_8'

I also filed a bug report to gcc:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56909

> If you have any trouble with this, try replacing --build=mingw32 with
> --build=i486-pc-mingw32.

Thanks for the suggestion, I will test with this.

> Another hint: I found it necessary to use "mount /mingw /mingw", so MSYS
> would leave alone some strings containing "/mingw" in the command-line
> of some build steps.

I have MinGW installed to c:\MinGW, and MSYS is under it all as default, 
and mount c:/mingw as /mingw so that should be no issue for me. However 
I still have something wrong with my environment as the building of gcc 
can't find dllcrt2.o. My workaround for now is to export LDFLAGS with 
the path.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter