[Ns-bugs] [Bug 566] New: Optimized build fails on MinGW

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed May 13 09:13:35 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=566

           Summary: Optimized build fails on MinGW
           Product: ns-3
           Version: ns-3.4
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build system
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: pascal_kesseli at hotmail.com
   Estimated Hours: 0.0


While debug build works flawlessly, using optimized settings causes the
following error messags:

[231/579] cxx: src\core\breakpoint.cc ->
build\optimized\src\core\breakpoint_1.o
[232/579] cxx: src\core\type-id.cc -> build\optimized\src\core\type-id_1.o
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_uninitialized.h:
In copy constructor
`<unnamed>::IidManager::IidInformation::IidInformation(const
<unnamed>::IidManager::IidInformation&)':
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_uninitialized.h:82:
warning: '__cur' might be used uninitialized in this function
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_uninitialized.h:82:
warning: '__cur' might be used uninitialized in this function
Build failed
 -> task failed (err #1): 
        {task: cxx type-id.cc -> type-id_1.o}
Entering directory
`c:\Users\Pascal\Software\C++\BA\ns-allinone-3.4\ns-3.4\build'



g++ version:
$ g++ --version
g++.exe (GCC) 3.4.5 (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure output:
$ ./waf -d optimized configure --check-cxx-compiler=g++
Checking for program g++                 : ok c:\mingw\bin\g++.exe 
Checking for program cpp                 : ok c:\mingw\bin\cpp.exe 
Checking for program ar                  : ok c:\mingw\bin\ar.exe 
Checking for program ranlib              : ok c:\mingw\bin\ranlib.exe 
Checking for g++                         : ok  
Checking for program pkg-config          : not found 
Checking for regression reference traces  : ok ..\ns-3.4-ref-traces (guessed) 
Checking for -Wno-error=deprecated-declarations support : no 
Checking for header stdlib.h                            : ok 
Checking for header signal.h                            : ok 
Checking for header pthread.h                           : Could not find
pthread support (build/config.log for details) 
Checking for high precision time implementation         : 128-bit integer 
Checking for header stdint.h                            : ok 
Checking for header inttypes.h                          : ok 
Checking for header sys/inttypes.h                      : not found 
Checking for library rt                                 : not found 
Checking for library sqlite3                            : not found 
Checking for NSC location                               : not found 
Checking for program python                             : ok c:\Program
Files\Python25\python.exe 
Checking for Python version >= 2.3                      : ok 2.5.4 
Checking for library python25                           : ok 
Checking for program python2.5-config                   : not found 
Checking for program python-config-2.5                  : not found 
Checking for header Python.h                            : ok 
Checking for -fvisibility=hidden support                : no 
Checking for pybindgen location                         : not found 
Checking for Python module pybindgen                    : not found 
pybindgen missing => no python bindings
Checking for program sudo                               : not found 
Checking for program hg                                 : not found 
Checking for program valgrind                           : not found 
Configuration finished successfully (00:00:01); project is now ready to build.
---- Summary of optional NS-3 features:
Threading Primitives          : not enabled (<pthread.h> include not detected)
Real Time Simulator           : not enabled (librt is not available)
Emulated Net Device           : not enabled (needs threading support which is
not available)
Tap Bridge                    : not enabled (needs threading support which is
not available)
GtkConfigStore                : not enabled (library 'gtk+-2.0 >= 2.12' not
found)
XmlIo                         : not enabled (library 'libxml-2.0 >= 2.7' not
found)
SQlite stats data output      : not enabled (library 'sqlite3' not found)
Network Simulation Cradle     : not enabled (NSC not found (see option
--with-nsc))
Python Bindings               : not enabled (PyBindGen missing)
Use sudo to set suid bit      : not enabled (option --enable-sudo not selected)


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list