bugGNU Octave - Bugs: bug #30186, Octave/mingw links to both...

 
 

bug #30186: Octave/mingw links to both libmingwex.a and libmsvcp60.a without -Wl,--allow-multiple-definition

Submitted by:  Joel Parker <jjkparker>
Submitted on:  Mon 21 Jun 2010 05:48:49 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: Need InfoAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 17 Sep 2011 05:22:18 PM UTC, comment #2:

This report has been inactive for nearly 8 months. I think that is sufficient time to wait for more feedback.

As mingw versions of Octave 3.2.4 and 3.4.x have been built, I recommend inquiries/questions be moved to the help-octave maillist.

-unavailable-

If there is reason to expect this is actually a bug, this ticket can be reopened.

Ben Abbott <bpabbott>
Project Member
Mon 21 Feb 2011 02:24:26 AM UTC, comment #1:

Is your error reproducible using the newest release, 3.4.0, and the instructions in README.MinGW?

Rik <rik5>
Project Administrator
Mon 21 Jun 2010 05:48:49 PM UTC, original submission:

I get the following error when building on mingw 3.18/gcc 4.5.0/Vista32:

libtool: link: g++ -shared -nostdlib c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../dllcrt2.o c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/crtbegin.o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_fltk_backend_la-fltk_backend.o -Wl,--whole-archive ../libcruft/.libs/libranlib.a ../libgnu/.libs/libgnu.a -Wl,--no-whole-archive -L/home/<>/octave/octave/liboctave/.libs -L/home/<>/octave/octave/libcruft/.libs ./.libs/liboctinterp.dll.a -L/projetos/gcc/build/mingw32/winsup/mingw -L/projetos/gcc/build/mingw32/winsup/w32api/lib -L/projetos/gcc/build/mingw32/libstdc++-v3/src -L/projetos/gcc/build/mingw32/libstdc++-v3/src/.libs -Lc:/progra~1/FreeType/lib -LD:/Progra~1/GnuWin32/lib -Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0 /home/<>/octave/octave/liboctave/.libs/liboctave.dll.a -lopengl32 -lglu32 ../liboctave/.libs/liboctave.dll.a /home/<>/octave/octave/libcruft/.libs/libcruft.dll.a -lreadline ../libcruft/.libs/libcruft.dll.a -llapack -lblas /mingw/lib/gcc/mingw32/4.5.0/libgfortran.dll.a -luser32 -lkernel32 -luser32 -lkernel32 -lfreetype -lz -lintl -lwsock32 -lole32 -luuid -lmsvcp60 -liberty -lpthread -luser32 -lkernel32 -lgdi32 -lws2_32 -luser32 -lkernel32 -Lc:/users/<>/software/mingw/bin/../lib/gcc -Lc:/users/<>/software/octave/lapack-3.2.1 -Lc:/Users/<>/Software/gnuwin32/lib -Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/lib -Lc:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../.. /mingw/lib/gcc/mingw32/4.5.0/libstdc++.dll.a -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/crtend.o -mieee-fp -Wl,-s -o DLD-FUNCTIONS/.libs/fltk_backend-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker DLD-FUNCTIONS/.libs/fltk_backend.dll.a
Creating library file: DLD-FUNCTIONS/.libs/fltk_backend.dll.ac:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../libmingwex.a(mbrtowc.o):mbrtowc.c:(.text+0x1d0): multiple definition of `mbsrtowcs'
c:/users/<>/software/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../libmsvcp60.a(dczhs00003.o):(.text+0x0): first defined here

collect2: ld returned 1 exit status
make[3]: *** [DLD-FUNCTIONS/fltk_backend.la] Error 1
make[3]: Leaving directory `/home/<>/octave/octave/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/<>/octave/octave/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<>/octave/octave'
make: *** [all] Error 2

Joel Parker <jjkparker>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jjkparker (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Sep 2011 05:22:18 PM UTCbpabbottOpen/ClosedOpen=>Closed
    Mon 21 Feb 2011 02:24:26 AM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1