* g++ and RH5.0
@ 1998-03-23 6:56 Greg Lindahl
1998-03-24 14:49 ` klogd spinning Francesco Callari
0 siblings, 1 reply; 2+ messages in thread
From: Greg Lindahl @ 1998-03-23 6:56 UTC (permalink / raw)
To: axp-list
When's 5.1 due out? :-)
I have a few hundred thousand lines of g++. As you folks have
heard, there are several problems with RH 5.0 on the alpha
and C++ programs:
1) header files. fd_set is declared in inconsistant ways that seem to
bother C++ compilers much more than C compilers. I fixed it via changing
/usr/include/linux/posix_types.h to read:
/* typedef struct fd_set {
unsigned long fds_bits [__FDSET_LONGS];
} __kernel_fd_set; */
typedef struct __fd_set __kernel_fd_set;
2) g++ library problems
2a) link with libc. Works with a toy, but my big programs still dump
core. See (3) to see why I don't know where.
2b) use egcs. Chokes on my C++ grammar. Bug report submitted.
2c) fix the library. Shinji Sumimoto gave the hint for that, so I
got the library source and added a #define _G_USING_THUNKS to
libio/libioP.h. Works for toy programs; my big C++ program goes into
an endless loop. See (3) to see why I don't know where.
3) Insult to injury section:
/tmp/cca23354.s: Assembler messages:
/tmp/cca23354.s:754: Fatal error: String too big (4134 bytes)
That's what happens when I use -g. Looks like ecoff binaries can't
have any string bigger than 4096 bytes, and my doubly-nested templated
classes or whatever generate debugging strings which are too large. I
could "fix" this by fiddling with the source, which might let me find
my endless loop... but...
-- g
^ permalink raw reply [flat|nested] 2+ messages in thread
* klogd spinning
1998-03-23 6:56 g++ and RH5.0 Greg Lindahl
@ 1998-03-24 14:49 ` Francesco Callari
0 siblings, 0 replies; 2+ messages in thread
From: Francesco Callari @ 1998-03-24 14:49 UTC (permalink / raw)
To: axp-list
I know, this is an old one, but thought you might be interested in
the fix.
This morning I found tons of log messages like the following
in my /var/log/messages
Bounty kernel: Cannot read proc file system: 9 - Bad file descriptor.
while klogd and syslogd were happily swallowing 50% CPU each.
The system is a PC164LX with a 21164 @ 533MHz, running a 2.0.32 kernel.
Sending a SIGTSTP/SIGCONT pair to klogd did not help initially, however
sending the signals again with a delay of a few minutes in between
brought the system back to normal.
From what i found scanning the mailing lists logs, it seemed that the
medicine usually applied was rebooting, so I thought that a less invasive
method might be of help to somenone with the some occasional problem.
Ciao
Franco
-------------------------------------------------------------------------
Franco Callari
Centre for Intelligent Machines "Beati coloro che hanno fame e sete
McGill University, 3480 University di giustizia, perche` saranno
Montreal, Quebec, Canada, H3A 2A7 giustiziati." (P. Bellocchio)
franco@cim.mcgill.ca | phone: +(514) 398-3371 | fax: +(514) 398-7348
WWW: <a href="http://www.cim.mcgill.ca/~franco/Home.html> Franco </a>
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-03-24 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-23 6:56 g++ and RH5.0 Greg Lindahl
1998-03-24 14:49 ` klogd spinning Francesco Callari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox