Changing WCHAR_TYPE from "long int" to "int"?
Andreas Jaeger
aj@suse.de
Mon Aug 6 03:11:00 GMT 2001
Ralf Baechle <ralf@oss.sgi.com> writes:
> On Sun, Aug 05, 2001 at 09:48:06AM -0700, H . J . Lu wrote:
>
>> I am working with Eric to clean up the Linux/mips configuration in
>> gcc 3.x. I'd like to change WCHAR_TYPE from "long int" to "int". They
>> are the same on Linux/mips. There won't be any run-time problems. I am
>> wondering if there are any compatibility problems at the compile time
>> at the source and binary level. For one thing, __WCHAR_TYPE__ will be
>> changed from "long int" to "int". The only thing I can think of is
>> the C++ libraries. But gcc 3.x doesn't work on Linux/mips. The one
>> I am working on will be the first gcc 3.x for Linux/mips. So there
>> shouldn't be any problems. Am I right?
>
> The MIPS ABI defines wchar_t to long. So please go ahead and make the
> change.
I'm confused. The ABI defines it to be long - and he should change it
nevertheless?
Andreas
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7bm0zOJpWPMJyoSYRArSgAJ9Ct50CFo0gDljzP3M9kE0sdN+70QCeN6n9
WlALwFwEUpNW6OVo6ZPpa6k=
=uKbi
-----END PGP SIGNATURE-----From gschafer@zip.com.au Mon Aug 06 05:39:00 2001
From: Greg Schafer <gschafer@zip.com.au>
To: libc-alpha@sources.redhat.com
Subject: more glibc-2.2.4pre2 results
Date: Mon, 06 Aug 2001 05:39:00 -0000
Message-id: <20010806223955.A6434@tigers-lfs.nsw.bigpond.net.au>
X-SW-Source: 2001-08/msg00032.html
Content-length: 518
Hello
i686-pc-linux-gnu
gcc-2.95.3 (with atexit and __dso_handle patches)
binutils 2.11.2
linux-2.4.7
Built cleanly but a "make check" failed with:
make[2]: *** [/usr/src/glibc-build/dlfcn/tstcxaatexit.out] Error 139
make[2]: Leaving directory `/usr/src/glibc-2.2.4/dlfcn'
make[1]: *** [dlfcn/tests] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.2.4'
make: *** [check] Error 2
Running the failed program "by hand" results in:
This is bar
module unload didn't change `v'
Segmentation fault
Regards
Greg
More information about the Libc-alpha
mailing list