Ken Brown
2013-03-17 02:08:43 UTC
$ uname -a
CYGWIN_NT-6.1 fiona 1.7.18(0.263/5/3) 2013-03-15 16:35 x86_64 Cygwin
$ gcc --version
gcc (GCC) 4.8.0 20130307 (experimental)
$ cat strlwr_test.c
#include <string.h>
#include <stdio.h>
int
main ()
{
char str[] = "FRED";
printf ("%s\n", strlwr (str));
}
$ gcc strlwr_test.c
/tmp/ccW2SOn8.o:strlwr_test.c:(.text+0x20): undefined reference to `strlwr'
/tmp/ccW2SOn8.o:strlwr_test.c:(.text+0x20): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `strlwr'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
/tmp/ccW2SOn8.o: bad reloc address 0x0 in section `.pdata'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
final link failed: Invalid operation
collect2: error: ld returned 1 exit status
Ken
P.S. Is this still the appropriate list for 64bit bug reports, or is it
time to move to the main cygwin list?
CYGWIN_NT-6.1 fiona 1.7.18(0.263/5/3) 2013-03-15 16:35 x86_64 Cygwin
$ gcc --version
gcc (GCC) 4.8.0 20130307 (experimental)
$ cat strlwr_test.c
#include <string.h>
#include <stdio.h>
int
main ()
{
char str[] = "FRED";
printf ("%s\n", strlwr (str));
}
$ gcc strlwr_test.c
/tmp/ccW2SOn8.o:strlwr_test.c:(.text+0x20): undefined reference to `strlwr'
/tmp/ccW2SOn8.o:strlwr_test.c:(.text+0x20): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `strlwr'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
/tmp/ccW2SOn8.o: bad reloc address 0x0 in section `.pdata'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
final link failed: Invalid operation
collect2: error: ld returned 1 exit status
Ken
P.S. Is this still the appropriate list for 64bit bug reports, or is it
time to move to the main cygwin list?