[jira] Created: (STDCXX-346) [Cygwin] gcc -fPIC warnings

2007-03-03 Thread Mark Brown (JIRA)
[Cygwin] gcc -fPIC warnings
---

 Key: STDCXX-346
 URL: https://issues.apache.org/jira/browse/STDCXX-346
 Project: C++ Standard Library
  Issue Type: Bug
  Components: Build
Affects Versions: 4.1.3
 Environment: gcc 3.4.4 on Cygwin
Reporter: Mark Brown


gcc shared library build on Cygwin spits out a warning message about the -fPIC 
flag on the command line for every .cpp file:

make[2]: Entering directory `/home/mbrown/stdcxx-12d/lib'
generating dependencies for $(TOPDIR)/src/atomic.s
generating dependencies for $(TOPDIR)/src/wctype.cpp
/home/mbrown/stdcxx/src/wctype.cpp:0: warning: -fPIC ignored for target (all 
code is position independent)

Removing the -fPIC gets rid of the warnings so I'm guessing Cygwin might need 
the same conditional as the one for AIX in gcc.config:

# IBM AIX code is always position independent
ifneq ($(OSNAME),AIX)
PICFLAGS= -fPIC
endif

Here's the archived post where this problem was first raised:
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200703.mbox/[EMAIL
 PROTECTED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Cygwin 12d build issues

2007-03-03 Thread Mark Brown
 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Sat, 3 Mar 2007 11:33:26 -0800
 To: stdcxx-dev@incubator.apache.org
 Subject: Re: Cygwin 12d build issues
 
 Thanks. I opened issue STDCXX-346 for the -fPIC warnings. I'll post
 a patch as soon as I'm done testing it.
 
 What about the LIBC_EXCEPTIONS.exe problem with the popup window?

The other test that pops up this window is EXTERN_INLINE.exe. It says:

EXTERN_INLINE.exe has stopped working.
A problem caused the program to stop working  correctly.
Windows will close the program and notify you if a solution is
available.

 
 -- Mark
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Fri, 02 Mar 2007 10:13:47 -0700
 To: stdcxx-dev@incubator.apache.org
 Subject: Re: Cygwin 12d build issues
 
 Mark Brown wrote:
 Hi all,
 
 Just for kicks I'm trying to build a 12d version of the library on
 Cygwin. Things looks like they're going okay except for a couple of
 errors that open up a message box on the screen telling me that a test
 had a problem. The build stops at this point and waits for me to click
 on a button before moving on to the next test. I don't remember the
 first but the second one is for LIBC_EXCEPTIONS.exe. Is this normal?
 
 I also see lots of messages like these:
 
 make[2]: Entering directory `/home/mbrown/stdcxx-12d/lib'
 generating dependencies for $(TOPDIR)/src/atomic.s
 generating dependencies for $(TOPDIR)/src/wctype.cpp
 /home/mbrown/stdcxx/src/wctype.cpp:0: warning: -fPIC ignored for target
 (all code is position independent)
 
 I'm guessing Cygwin might need the same conditional as the one for AIX
 in gcc.config:
 
 # IBM AIX code is always position independent
 ifneq ($(OSNAME),AIX)
 PICFLAGS= -fPIC
 endif
 
 Looks like it. If you could open an issue for this too,
 that would be great! A patch is also welcome :)
 
 Thanks
 Martin
 
 
 -- Mark


ONE-CLICK WEBMAIL ACCESS - Easily monitor  access your email accounts!
Visit http://www.inbox.com/notifier and check it out!


[jira] Commented: (STDCXX-337) [Cygwin] unsats on _libiconv, _catgets

2007-03-03 Thread Mark Brown (JIRA)

[ 
https://issues.apache.org/jira/browse/STDCXX-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477681
 ] 

Mark Brown commented on STDCXX-337:
---

I'm not sure how it happened but there's a typo in the patch I suggested above 
(my local copy is okay). The flag should have been -lcatgets, not -catgets. I'm 
sorry for the trouble.

 [Cygwin] unsats on _libiconv, _catgets
 --

 Key: STDCXX-337
 URL: https://issues.apache.org/jira/browse/STDCXX-337
 Project: C++ Standard Library
  Issue Type: Bug
  Components: Build
Affects Versions: 4.1.3
 Environment: Cygwin
Reporter: Mark Brown

 I tried to build the library on Cygwin but I'm getting linker errors for the 
 localedef utility. I have the iconv library installed (in /usr/lib) but make 
 isn't linking with it. I also get linker errors for _catopen, _catgets, and 
 _catclose. I searched under /usr/lib to see what library defines these 
 symbols and it's libcatgets.a. Should the makefile be linking with it?
 gcc localedef.o aliases.o charmap.o codecvt.o collate.o ctype.o def.o 
 diagnostic.o messages.o monetary.o numeric.o path.o time.o scanner.o -o 
 localedef  -L/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib -lstd11s  -lsupc++ 
 -lm 
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/libsupc++.a(eh_exception.o):(.text+0x80): 
 multiple definition of `std::exception::what() const'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(exception.o):/home/mbrown/stdcxx-4.1.3/src/exception.cpp:334:
  first defined here
 charmap.o: In function `_ZNSt4pairIKwSsEC1ERKS1_':
 /home/mbrown/stdcxx-4.1.3/include/rw/_specialized.h:(.text+0x4c0): undefined 
 reference to `_libiconv_open'
 charmap.o: In function `_ZNK7Charmap15convert_to_utf8EPKcjPcj':
 /home/mbrown/stdcxx-4.1.3/util/charmap.cpp:346: undefined reference to 
 `_libiconv'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw13__rw_cat_openERKSsRKSt6locale':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:205: undefined reference to 
 `_catopen'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw16__rw_get_messageEiii':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:235: undefined reference to 
 `_catgets'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw14__rw_cat_closeEi':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:277: undefined reference to 
 `_catclose'
 collect2: ld returned 1 exit status
 make[2]: *** [localedef] Error 1
 make[2]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/bin'
 make[1]: *** [util] Error 2
 make[1]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s'
 make: *** [libstd] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[PATCH] for STCXX-346 - [Cygwin] gcc -fPIC warnings

2007-03-03 Thread Mark Brown
Here's a patch for the -fPIC warnings on Cygwin (issue STCXX-346). I got a 
little crafty with the conditional and used findstring instead of two ifs. I 
hope that's okay. I also took the liberty to add a -*- Makefile -*- tag to 
the top of the file to enable emacs syntax highlighting.

-- Mark

Index: /home/mbrown/stdcxx/etc/config/gcc.config
===
--- /home/mbrown/stdcxx/etc/config/gcc.config   (revision 513621)
+++ /home/mbrown/stdcxx/etc/config/gcc.config   (working copy)
@@ -1,3 +1,4 @@
+#  -*- Makefile -*-
 #
 # $Id$
 #
@@ -48,9 +49,10 @@
 
 DEPENDFLAGS = -M
 
-# IBM AIX code is always position independent
-ifneq ($(OSNAME),AIX)
-PICFLAGS= -fPIC
+# avoid adding -FPIC on IBM AIX and Cygwin where
+# gcc generated code is always position independent
+ifeq (,$findstring |$(OSNAME)|,|AIX|CYGWIN|)
+PICFLAGS = -fPIC
 endif
 
 ifeq ($(OSNAME),SunOS)


ONE-CLICK WEBMAIL ACCESS - Easily monitor  access your email accounts!
Visit http://www.inbox.com/notifier and check it out!


typo in alloc.cpp

2007-03-03 Thread Mark Brown
Hi,

There appears to be a little typo in the source file alloc.cpp as pointed out 
by the gcc compilation error on Cygwin. The patch below fixes it.

gcc -c -I/home/mbrown/stdcxx/include/ansi -D_RWSTDDEBUG-D_RWSTD_USE_CONFIG 
-I/home/mbrown/stdcxx/include -I/home/mbrown/stdcxx-gcc-3.4.4-11s/include 
-I/home/mbrown/stdcxx/../rwtest -I/home/mbrown/stdcxx/tests/include  -pedantic 
-nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings 
-Wno-long-long -Wcast-align   /home/mbrown/stdcxx/tests/src/alloc.cpp
/home/mbrown/stdcxx/tests/src/alloc.cpp:97: error: comma at end of enumerator 
list
/home/mbrown/stdcxx/tests/src/alloc.cpp: In function `DWORD 
_rw_translate_prot(int)':
/home/mbrown/stdcxx/tests/src/alloc.cpp:120: warning: comparison between signed 
and unsigned integer expressions
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory `/home/mbrown/stdcxx-gcc-3.4.4-11s/rwtest'
make: *** [/home/mbrown/stdcxx-gcc-3.4.4-11s/rwtest/librwtest11s.a] Error 2


Index: /home/mbrown/stdcxx/tests/src/alloc.cpp
===
--- /home/mbrown/stdcxx/tests/src/alloc.cpp (revision 514239)
+++ /home/mbrown/stdcxx/tests/src/alloc.cpp (working copy)
@@ -93,7 +93,7 @@
 PROT_READ  = 1  0,
 PROT_WRITE = 1  1,
 PROT_RDWR  = PROT_READ | PROT_WRITE,
-PROT_EXEC  = 1  2,
+PROT_EXEC  = 1  2
 };
 
 #define MAP_PRIVATE   0

-- Mark


compilation error in 0.alloc.cpp

2007-03-03 Thread Mark Brown
I'm trying to compile the tests on Cywgin and I'm getting some errors. Here's 
the first one. I tried to see if it was something obvious that I could easily 
fix myself but the code in both cases is a macro defined to yet another macro 
that expands to either setjmp or sigsetjmp if that's a macro too. Too many 
macros... Hopefully someone better at macro hacking than me will be able to 
figure what's going on.

gcc -c -I/home/mbrown/stdcxx/include/ansi -D_RWSTDDEBUG-D_RWSTD_USE_CONFIG 
-I/home/mbrown/stdcxx/include -I/home/mbrown/stdcxx-gcc-3.4.4-11s/include 
-I/home/mbrown/stdcxx/../rwtest -I/home/mbrown/stdcxx/../rwtest/include 
-I/home/mbrown/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall 
-Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align   
/home/mbrown/stdcxx/tests/self/0.alloc.cpp
/home/mbrown/stdcxx/tests/self/0.alloc.cpp: In function `void test(const 
TestCase)':
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:93: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
/home/mbrown/stdcxx/tests/self/0.alloc.cpp:102: error: cannot convert `int 
(*)[52]' to `int (*)[54]' in initialization
make: *** [0.alloc.o] Error 1

-- Mark


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!


compilation errors in 27.istream.fmat.arith.cpp

2007-03-03 Thread Mark Brown
Here's another test that throws an error at compile time. It looks like the 
compiler doesn't like the using N as the dimension of the array. I thought 
using variables as array dimensions was not allowed in C++?

gcc -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow 
-Wwrite-strings -Wno-long-long -Wcast-align  -I/home/mbrown/stdcxx/include/ansi 
-D_RWSTDDEBUG-D_RWSTD_USE_CONFIG -I/home/mbrown/stdcxx/include 
-I/home/mbrown/stdcxx-gcc-3.4.4-11s/include -I/home/mbrown/stdcxx/../rwtest 
-I/home/mbrown/stdcxx/../rwtest/include -I/home/mbrown/stdcxx/tests/include  
-L/home/mbrown/stdcxx-gcc-3.4.4-11s/rwtest -lrwtest11s  
-L/home/mbrown/stdcxx-gcc-3.4.4-11s/lib -lstd11s   
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp 
/home/mbrown/stdcxx-gcc-3.4.4-11s/lib/libstd11s.a 
/home/mbrown/stdcxx-gcc-3.4.4-11s/rwtest/librwtest11s.a  -lsupc++ -lcatgets 
-liconv -lm -o 27.istream.fmat.arith
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp: In function 
`const std::locale make_locale(const CharT*, const LocaleData)':
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:67: error: ISO C++ 
forbids variable-size array `chars'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:68: error: ISO C++ 
forbids variable-size array `masks'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp: In function 
`const std::locale make_locale(const CharT*, const LocaleData) [with CharT = 
char]':
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:179:   
instantiated from `const std::locale make_locale(const CharT*, const Traits*, 
const LocaleData) [with CharT = char, Traits = std::char_traitschar]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:309:   
instantiated from `void test_extractor(CharT*, Traits*, ArithmeticType*, const 
char*, const char*, const char*, int, const char*, const char*, size_t, const 
LocaleData, int, int, int, int, int, int, int, ArithmeticType, ArithmeticType) 
[with CharT = char, Traits = std::char_traitschar, ArithmeticType = bool]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:699:   
instantiated from `void test_bool(CharT*, Traits*, const char*, const char*) 
[with CharT = char, Traits = std::char_traitschar]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:1245:   
instantiated from `void test_extractor(CharT*, Traits*, const char*, const 
char*) [with CharT = char, Traits = std::char_traitschar]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:1310:   
instantiated from here
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:67: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:67: error: storage 
size of `chars' isn't constant
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:68: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:68: error: storage 
size of `masks' isn't constant
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:71: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:71: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:75: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:75: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:76: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:76: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:83: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:83: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:88: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:88: error: ISO C++ 
forbids variable-size array
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp: In function 
`const std::locale make_locale(const CharT*, const LocaleData) [with CharT = 
wchar_t]':
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:179:   
instantiated from `const std::locale make_locale(const CharT*, const Traits*, 
const LocaleData) [with CharT = wchar_t, Traits = std::char_traitswchar_t]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:309:   
instantiated from `void test_extractor(CharT*, Traits*, ArithmeticType*, const 
char*, const char*, const char*, int, const char*, const char*, size_t, const 
LocaleData, int, int, int, int, int, int, int, ArithmeticType, ArithmeticType) 
[with CharT = wchar_t, Traits = std::char_traitswchar_t, ArithmeticType = 
bool]'
/home/mbrown/stdcxx/tests/iostream/27.istream.fmat.arith.cpp:699:   
instantiated from `void test_bool(CharT*, Traits*, const 

[jira] Commented: (STDCXX-337) [Cygwin] unsats on _libiconv, _catgets

2007-03-03 Thread Martin Sebor (JIRA)

[ 
https://issues.apache.org/jira/browse/STDCXX-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477698
 ] 

Martin Sebor commented on STDCXX-337:
-

No problem. I should have tested the patch myself. A new patch to fix the typo 
is in.

 [Cygwin] unsats on _libiconv, _catgets
 --

 Key: STDCXX-337
 URL: https://issues.apache.org/jira/browse/STDCXX-337
 Project: C++ Standard Library
  Issue Type: Bug
  Components: Build
Affects Versions: 4.1.3
 Environment: Cygwin
Reporter: Mark Brown

 I tried to build the library on Cygwin but I'm getting linker errors for the 
 localedef utility. I have the iconv library installed (in /usr/lib) but make 
 isn't linking with it. I also get linker errors for _catopen, _catgets, and 
 _catclose. I searched under /usr/lib to see what library defines these 
 symbols and it's libcatgets.a. Should the makefile be linking with it?
 gcc localedef.o aliases.o charmap.o codecvt.o collate.o ctype.o def.o 
 diagnostic.o messages.o monetary.o numeric.o path.o time.o scanner.o -o 
 localedef  -L/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib -lstd11s  -lsupc++ 
 -lm 
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/libsupc++.a(eh_exception.o):(.text+0x80): 
 multiple definition of `std::exception::what() const'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(exception.o):/home/mbrown/stdcxx-4.1.3/src/exception.cpp:334:
  first defined here
 charmap.o: In function `_ZNSt4pairIKwSsEC1ERKS1_':
 /home/mbrown/stdcxx-4.1.3/include/rw/_specialized.h:(.text+0x4c0): undefined 
 reference to `_libiconv_open'
 charmap.o: In function `_ZNK7Charmap15convert_to_utf8EPKcjPcj':
 /home/mbrown/stdcxx-4.1.3/util/charmap.cpp:346: undefined reference to 
 `_libiconv'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw13__rw_cat_openERKSsRKSt6locale':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:205: undefined reference to 
 `_catopen'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw16__rw_get_messageEiii':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:235: undefined reference to 
 `_catgets'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw14__rw_cat_closeEi':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:277: undefined reference to 
 `_catclose'
 collect2: ld returned 1 exit status
 make[2]: *** [localedef] Error 1
 make[2]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/bin'
 make[1]: *** [util] Error 2
 make[1]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s'
 make: *** [libstd] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (STDCXX-337) [Cygwin] unsats on _libiconv, _catgets

2007-03-03 Thread Martin Sebor (JIRA)

 [ 
https://issues.apache.org/jira/browse/STDCXX-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Sebor closed STDCXX-337.
---

   Resolution: Fixed
Fix Version/s: 4.2

Fixed.

 [Cygwin] unsats on _libiconv, _catgets
 --

 Key: STDCXX-337
 URL: https://issues.apache.org/jira/browse/STDCXX-337
 Project: C++ Standard Library
  Issue Type: Bug
  Components: Build
Affects Versions: 4.1.3
 Environment: Cygwin
Reporter: Mark Brown
 Fix For: 4.2


 I tried to build the library on Cygwin but I'm getting linker errors for the 
 localedef utility. I have the iconv library installed (in /usr/lib) but make 
 isn't linking with it. I also get linker errors for _catopen, _catgets, and 
 _catclose. I searched under /usr/lib to see what library defines these 
 symbols and it's libcatgets.a. Should the makefile be linking with it?
 gcc localedef.o aliases.o charmap.o codecvt.o collate.o ctype.o def.o 
 diagnostic.o messages.o monetary.o numeric.o path.o time.o scanner.o -o 
 localedef  -L/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib -lstd11s  -lsupc++ 
 -lm 
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/libsupc++.a(eh_exception.o):(.text+0x80): 
 multiple definition of `std::exception::what() const'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(exception.o):/home/mbrown/stdcxx-4.1.3/src/exception.cpp:334:
  first defined here
 charmap.o: In function `_ZNSt4pairIKwSsEC1ERKS1_':
 /home/mbrown/stdcxx-4.1.3/include/rw/_specialized.h:(.text+0x4c0): undefined 
 reference to `_libiconv_open'
 charmap.o: In function `_ZNK7Charmap15convert_to_utf8EPKcjPcj':
 /home/mbrown/stdcxx-4.1.3/util/charmap.cpp:346: undefined reference to 
 `_libiconv'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw13__rw_cat_openERKSsRKSt6locale':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:205: undefined reference to 
 `_catopen'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw16__rw_get_messageEiii':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:235: undefined reference to 
 `_catgets'
 /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In 
 function `_ZN4__rw14__rw_cat_closeEi':
 /home/mbrown/stdcxx-4.1.3/src/messages.cpp:277: undefined reference to 
 `_catclose'
 collect2: ld returned 1 exit status
 make[2]: *** [localedef] Error 1
 make[2]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/bin'
 make[1]: *** [util] Error 2
 make[1]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s'
 make: *** [libstd] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Cygwin 12d build issues

2007-03-03 Thread Martin Sebor

Mark Brown wrote:

-Original Message-
From: [EMAIL PROTECTED]
Sent: Sat, 3 Mar 2007 11:33:26 -0800
To: stdcxx-dev@incubator.apache.org
Subject: Re: Cygwin 12d build issues

Thanks. I opened issue STDCXX-346 for the -fPIC warnings. I'll post
a patch as soon as I'm done testing it.

What about the LIBC_EXCEPTIONS.exe problem with the popup window?


The other test that pops up this window is EXTERN_INLINE.exe. It says:

EXTERN_INLINE.exe has stopped working.
A problem caused the program to stop working  correctly.
Windows will close the program and notify you if a solution is
available.


There shouldn't be any windows popping up when configuring,
building, or using stdcxx. We have code that prevents the
annoying Windows popups in tests that are expected to end
abnormally (e.g., via an exception), for example,
DYNAMIC_CAST.cpp, or NEW_THROWS.cpp, but I don't believe
the two you mention are among them.

I suppose we could introduce a common header with the code
and #include it from every test to prevent these popups even
when they are not anticipated. It's something to think about.

In any case, please go ahead and open an issue for the
problem.

I don't have a Cygwin environment handy to test it right now
but Farid might. Farid, if you have installed Cygwin, could
you do a build and see if you can reproduce it?

Martin