Couple of compile advices on Solaris 10 x86
- From: Miroslav Zubcic <news@xxxxxxxxxxxxx>
- Date: Sun, 26 Nov 2006 15:02:27 +0100
Based on my experiance:
1.
If you are using mplayer/mencoder on Solaris 10 6/06, you compiled it with gcc
(because mplayer is heavy addicted to gcc "specials") and you experiance
segfaults in mencoder no matter what you try to encode/decode, and is mdb and
dbx shows that problem is in main() in mencoder.c, recompile mencoder.c by hand
(copy/paste output from gmake), but remove '-march=k8' from compiler flags and
link it with the rest of code. This should solve the problem and you can happily
use it without problem.
Looks like gcc 3.4.3 from Sun is miscompiling some code.
2.
If you compile GNU Emacs and it core dumps on exit (C-x C-c), in
[8] exit(0x182cfc04, 0x8046ab0, 0x0, 0x8046ab0, 0x182cfc04, 0x182cfc04), at
0xfe823e32
=>[9] Ffuncall(nargs = 1, args = (nil)), line 2662 in "eval.c"
.... recompile by hand eval.c with Sun workshop cc compiler (adjust C flags also
by hand) and link with the rest with gcc. Removing "-O2" from cflags will not
solve problem. Sun cc will solve the problem. Again, gcc 3.4.2 is broken.
Do not try to compile whole GNU Emacs with Sun cc - this cannot be done (at
least if you are not willing to spend couple of hours fixing the code, or even
worse - configure script).
--
Man is something that shall be overcome.
-- Friedrich Nietzsche
.
- Prev by Date: Nge nge ... ngeeeee!
- Next by Date: Re: CC compiler and dual core processor
- Previous by thread: Nge nge ... ngeeeee!
- Next by thread: zone shutdown
- Index(es):
Relevant Pages
|