delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-Id: | <200407261033.i6QAXJF8028529@thor.remedy.nl> |
From: | "Johnny Willemsen" <jwillemsen AT remedy DOT nl> |
To: | <cygwin AT cygwin DOT com> |
Subject: | New autoimport errors after binutils upgrade |
Date: | Mon, 26 Jul 2004 12:33:25 +0200 |
MIME-Version: | 1.0 |
X-Virus-Scanned: | by XS4ALL Virus Scanner |
X-Spam-Status: | No, hits=0.7 required=5.0 tests=FORGED_MUA_OUTLOOK,MISSING_OUTLOOK_NAME,MSGID_HAS_NO_AT version=2.55 |
X-Spam-Checker-Version: | SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) |
Note-from-DJ: | This may be spam |
Hi, I upgraded to the new binutils version and I now get autoimport errors as below. We have had this problem already a long time with MinGW, there the report is https://sourceforge.net/tracker/?func=detail&aid=683455&group_id=2435&atid=1 02435. The code is visible at http://cvs.doc.wustl.edu/cvsweb.cgi/ACE_wrappers/ace/Time_Value.h?rev=4.31&c ontent-type=text/x-cvsweb-markup The hack at the end of the file for MinGW is workable now for Cygwin also. It is a hard one to reproduce, it only happens in when the class is used in nested templates. See the mingw report for more info Johnny GNUmakefile: /cygdrive/c/ACE/Cygwin/ACE_wrappers/tests/GNUmakefile.Timer_Queue_Test MAKEFLAGS= --unix -wk g++ -W -Wall -Wpointer-arith -mcpu=pentiumpro -mthreads -O3 -g -pipe -fno-exceptions -fcheck-new -Ic:/ACE/Cygwin/ACE_wrappers -DACE_NO_INLINE -I.. -c -o .obj/Timer_Queue_Test.o Timer_Queue_Test.cpp g++ -W -Wall -Wpointer-arith -mcpu=pentiumpro -mthreads -O3 -g -pipe -fno-exceptions -fcheck-new -Ic:/ACE/Cygwin/ACE_wrappers -DACE_NO_INLINE -I.. -Wl,--enable-auto-import -Wl,-E -Lc:/ACE/Cygwin/ACE_wrappers/ace -L./ -L../lib -o Timer_Queue_Test .obj/Main.o .obj/Timer_Queue_Test.o -lTest_Output -lACE .obj/Timer_Queue_Test.o(.text$_ZN17ACE_Timer_Wheel_TIP17ACE_Event_Handler39A CE_Event_Handler_Handle_Timeout_UpcallI26ACE_Recursive_Thread_MutexES3_E15re calc_earliestERK14ACE_Time_Value+0x33): In function `_ZN16ACE_Timer_Heap_TIP17ACE_Event_Handler39ACE_Event_Handler_Handle_Timeou t_UpcallI26ACE_Recursive_Thread_MutexES3_E12pop_freelistEv': c:/ACE/Cygwin/ACE_wrappers/ace/Timer_Heap_T.cpp: variable 'ACE_Time_Value::zero' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details. collect2: ld returned 1 exit status make[2]: *** [Timer_Queue_Test] Error 1 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/cygdrive/c/ACE/Cygwin/ACE_wrappers/tests' make[1]: [Timer_Queue_Test] Error 2 (ignored) -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |