This is the mail archive of the
cygwin
mailing list for the Cygwin project.
New autoimport errors after binutils upgrade
- From: "Johnny Willemsen" <jwillemsen at remedy dot nl>
- To: <cygwin at cygwin dot com>
- Date: Mon, 26 Jul 2004 12:33:25 +0200
- Subject: New autoimport errors after binutils upgrade
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/