From: SourceForge.net <no...@so...> - 2009-01-30 12:25:02
|
Bugs item #2532984, was opened at 2009-01-24 21:10 Message generated for change (Comment added) made by kelley567 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2532984&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: binutils Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kelley567 (kelley567) Assigned to: Nobody/Anonymous (nobody) Summary: abnormal termination(global variable __m128i type) Initial Comment: When I declare __m128i type by global variable and use it, it is terminated abnormally. There does not seem to be no problem when I compile it in g++. Environment: gcc 4.3.0(20080305) alpha-testing binutils-2.19 w32api-3.13 mingwrt-3.15.2 Windows XP Home Edition SP3(Japanese) ---------------------------------------------------------------------- Comment By: Kelley567 (kelley567) Date: 2009-01-30 20:38 Message: Thank you for commenting. I add a test code. Please compile it with the following option. gcc -o test-sse2.exe test-sse2.c -msse2 gcc -o test-sse2b.exe test-sse2b.c -msse2 In addition, this does not reappear in the cross compilation environment (Debian lenny). It is the problem that it met with in MinGW on Windows. $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) $ ld -v GNU ld (GNU Binutils) 2.19 #This English used the translation site. #There may be funny expression. ---------------------------------------------------------------------- Comment By: Keith Marshall (keithmarshall) Date: 2009-01-30 19:54 Message: Can you please provide a minimal, but complete and self-contained test case, which illustrates this problem, and includes detailed instructions on how to reproduce it? Without such detail, there really isn't much we can do to progress this. (If, as you seem to have determined, this actually is a binutils issue, you will need to provide such information anyway, when we direct you to submit a report to the binutils project). Additionally, can you please be more specific as to which of the binutils versions you have tested exhibit this issue, and which behave as expected, for this isn't at all clear from your previous comments? FWIW, using *our* cross-compiler build on Ubuntu-8.04, the code you *have* provided as a test case doesn't even compile for me: $ mingw32-gcc --version mingw32-gcc (GCC) 3.4.5 (mingw-vista special r2) Copyright (C) 2004 Free Software Foundation, Inc. [...] $ mingw32-ld --version GNU ld (GNU Binutils) 2.19 Copyright 2007 Free Software Foundation, Inc. [...] $ mingw32-gcc test-sse2.c test-sse2.c:3: error: syntax error before "dummy" test-sse2.c:3: warning: data definition has no type or storage class ---------------------------------------------------------------------- Comment By: Kelley567 (kelley567) Date: 2009-01-28 17:21 Message: In version 2.18.50-20071123 - 2.19 of binutils, the same problem seems to happen. The package which I confirmed is as follows. binutils-2.19-mingw32-bin.tar.gz binutils-2.18.50-20080109-2.tar.gz binutils-2.18.50-20080109.tar.gz binutils-2.18.50-20071123.tar.gz #This English used the translation site. #There may be funny expression. ---------------------------------------------------------------------- Comment By: Kelley567 (kelley567) Date: 2009-01-27 10:46 Message: Reference information MinGW on Debian GNU/Linux(lenny) i586-mingw32msvc-ld -v GNU ld (GNU Binutils) 2.18.50.20080109 It is also no problem. ---------------------------------------------------------------------- Comment By: Kelley567 (kelley567) Date: 2009-01-27 10:36 Message: This problem happened in gcc-3.4.5. It seems to be a problem of binutils not gcc. This seems to be a problem of GNU ld (GNU Binutils) 2.19 When it was GNU ld version 2.17.50 20060824, there was not a problem. ---------------------------------------------------------------------- Comment By: Kelley567 (kelley567) Date: 2009-01-24 22:43 Message: It is an additional report. There was not a problem in MinGW on Debian GNU/Linux(lenny). i586-mingw32msvc-gcc -v Using built-in specs. Target: i586-mingw32msvc Configured with: /build/buildd/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs Thread model: win32 gcc version 4.2.1-sjlj (mingw32-2) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2532984&group_id=2435 |