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

Submitter:  Joel Parker <jjkparker>
Submitted:  Mon 21 Jun 2010 05:48:49 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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.

-email is unavailable-

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

Ben Abbott <bpabbott>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-17 bpabbott Open/ClosedOpen Closed
    2011-02-21 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code