[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tls.c function glthread_tls_get is void not void * as in tls.h
From: |
Gerard Tromp |
Subject: |
tls.c function glthread_tls_get is void not void * as in tls.h |
Date: |
Wed, 12 Sep 2007 11:48:02 -0400 |
Greetings!
I was building gettext-0.16 on a Sun Sparc Solaris 2.8 sun4u box and found
that the build croaked on tls.c. The gcc compiler gave an error indicating
that there was a mismatch between the declaration of glthread_tls_get in
tls.h and the code in tls.c. Changing tls.c to have the function as "void *
glthread_tls_get ..." (patch file attached), resolved the problems and all
tests but recode-sr-latin succeeded.
Failed test output.
recode-sr-latin: input is not valid in "ASCII" encoding: Illegal byte
sequence
FAIL: recode-sr-latin-2
Building for 64-bit mode did not work as well. 3 tests failed with no
explanation.
msg-fmt-11
msg-fmt-13
xgettext-java-2
Could someone enlighten me as to what code is exercised and tested in these
tests? That way I can see if I can track down the problem.
Sincerely,
Gerard Tromp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Gerard Tromp, Ph.D
Center for Molecular Medicine and Genetics Vox: 313.577.8773
& Department of Neurology fax: 313.577.5218
Wayne State University School of Medicine
3309 Scott Hall
540 East Canfield Ave.
Detroit, MI 48201 SunOS penrose 5.8 Generic_117350-04 sun4u sparc
SUNW,Ultra-60
e-mail: address@hidden
web: http://www.genetics.wayne.edu/gtromp/gtromp-home.html
OS:
SunOS penrose 5.8 Generic sun4u sparc SUNW,Ultra-60
gcc:
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.5/specs
Configured with: ../configure
Thread model: posix
gcc version 3.4.5
gettext configured with
CC=gcc -B/usr/ccs/sbin
CXX=g++ -B/usr/ccs/sbin
LDFLAGS
'-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib/64 -R/usr/local/lib/64 '
# 64-bit lib paths for 64-bit build
./configure \
--enable-threads=solaris \
--with-libiconv-prefix=/usr/local \
--program-transform-name='s/^gettext$/g&/;s/^msgfmt$/g&/;s/^xgettext$/g&
/' \
>>& configure002.log &
gettext-0.16.patch
Description: Binary data
- tls.c function glthread_tls_get is void not void * as in tls.h,
Gerard Tromp <=