Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ghostscript-7.07.1-r8 hangs on emerge
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
laffinboy
n00b
n00b


Joined: 19 Mar 2005
Posts: 1

PostPosted: Sat Mar 19, 2005 6:26 am    Post subject: ghostscript-7.07.1-r8 hangs on emerge Reply with quote

When I try to upgrade to this latest version of ghostscript my computer repeatedly hangs at the following line:
Code:
./obj/genarch ./obj/arch.h


I have been thoroughly googling and searching the forums and it appears that numerous other people are having this exact same problem where their machine hangs/reboots on this line. One post suggested disabling ccache and noapic, but that has had no effect. Other workarounds have been to emerge the binary package of ghostscript-7.07.1-r7, however I would like to upgrade my kde and it is requiring an update to the -r8 version of ghostscript (is there a way around this perhaps?).

I don't believe this to be any overheating/memory problems, since there are a variety of people seeing this, on a variety of different motherboards.

Has anyone out there managed to work around this issue?


My Computer:
Asus A8N-SLI
AMD64 3000+
1GB RAM
Leadtek 6600 GT Extreme PCI-E

emerge info:
Code:
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  5 2005, 18:54:43)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo ftp://mirror.isp.net.au/pub/gentoo http://planetmirror.com/pub/gentoo ftp://planetmirror.com/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd dvdr esd evo exif fam flac font-server fortran gdbm gif gnome gpm gtk imagemagick imlib ipv6 jp2 jpeg kde lzw lzw-tiff mng mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pda perl png python qt quicktime readline ruby scanner ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vim-with-x wmf xml2 xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
M@rijn
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2004
Posts: 145
Location: Zierikzee (The Netherlands)

PostPosted: Sun Mar 20, 2005 5:02 pm    Post subject: Reply with quote

Same kind of problem here on a simple x86 machine :?
_________________
Gentoo is just an Aston Martin, "Power, beauty and soul"
Back to top
View user's profile Send private message
xijo
n00b
n00b


Joined: 20 Sep 2003
Posts: 14

PostPosted: Thu May 26, 2005 11:29 am    Post subject: Reply with quote

same problem on this thread

https://forums.gentoo.org/viewtopic-t-204408-highlight-ghostscript.html

i suggest we make a big one :)

greetz
xijo
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu May 26, 2005 1:14 pm    Post subject: Reply with quote

There's a newer version out now which emerged OK here..
Code:
# eix ghostscript
* app-text/ghostscript
     Available versions:  !7.05.6-r2 7.07.1-r7 7.07.1-r8 ~7.07.1-r9
     Installed:           7.07.1-r9

_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xijo
n00b
n00b


Joined: 20 Sep 2003
Posts: 14

PostPosted: Thu May 26, 2005 7:47 pm    Post subject: Reply with quote

nope same problem with the -r9 version *sight*
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 189
Location: Germany

PostPosted: Fri May 27, 2005 9:49 pm    Post subject: Reply with quote

me too :(
Back to top
View user's profile Send private message
chebe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 101
Location: New Caledonia

PostPosted: Sat May 28, 2005 2:08 am    Post subject: Reply with quote

Ghostscript 7.07 blew up my hylafax server ... I had to switch back to 7.05 ...
Just to let you know
_________________
Unix is user friendly - it's just selective about who its friends are !
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 189
Location: Germany

PostPosted: Sat May 28, 2005 2:37 pm    Post subject: Reply with quote

v7.05 also produces a kernel oops on my system 8O
_________________
Gentoo 17.1 x86_64
Intel Core i9-9900K
Asus MAXIMUS XI HERO
AMD Radeon 6800XT
64GB DDR4
Samsung SSD 970 EVO Plus 1TB
8x Seagate Archive (SATA-RAID 64TB)
Digital Devices Cine S2 V6.5 DVB Adapter
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 189
Location: Germany

PostPosted: Sun May 29, 2005 1:42 pm    Post subject: Reply with quote

As a workaround i used ghostscript-afpl. All is working fine now, but i had to do manually a:

Code:
cp /var/tmp/portage/ghostscript-afpl-8.15/work/ghostscript-8.15/ijs/libijs.a /usr/lib


to avoid linking-errors against other programs.
_________________
Gentoo 17.1 x86_64
Intel Core i9-9900K
Asus MAXIMUS XI HERO
AMD Radeon 6800XT
64GB DDR4
Samsung SSD 970 EVO Plus 1TB
8x Seagate Archive (SATA-RAID 64TB)
Digital Devices Cine S2 V6.5 DVB Adapter
Back to top
View user's profile Send private message
xijo
n00b
n00b


Joined: 20 Sep 2003
Posts: 14

PostPosted: Tue May 31, 2005 6:12 pm    Post subject: Reply with quote

mh .. seems to be a hardware problem (chipset?)
we all have the Asus A8N-SLI - perhaps we should tell the ghostscript-developers about it!? - if it isn't a compiler problem..

anyway i'll try your workaround. might linking the lib to /usr/lib (/usr/lib64/ ?) not a better idea?

greetz
xijo
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 189
Location: Germany

PostPosted: Tue May 31, 2005 7:29 pm    Post subject: Reply with quote

Quote:

mh .. seems to be a hardware problem (chipset?)
we all have the Asus A8N-SLI - perhaps we should tell the ghostscript-developers about it!? - if it isn't a compiler problem..


This must be a compiler problem/incompatibility. BTW there is another candidate that generates this crash-problem:
libquicktime(-0.9.6-r1)

Quote:

anyway i'll try your workaround. might linking the lib to /usr/lib (/usr/lib64/ ?) not a better idea?


what? linking to a file at a temporary place?
_________________
Gentoo 17.1 x86_64
Intel Core i9-9900K
Asus MAXIMUS XI HERO
AMD Radeon 6800XT
64GB DDR4
Samsung SSD 970 EVO Plus 1TB
8x Seagate Archive (SATA-RAID 64TB)
Digital Devices Cine S2 V6.5 DVB Adapter
Back to top
View user's profile Send private message
xijo
n00b
n00b


Joined: 20 Sep 2003
Posts: 14

PostPosted: Thu Jun 02, 2005 10:14 am    Post subject: Reply with quote

ok then we should tell .. gcc-team?

i didn't have to link it, because /usr/lib64/libijs.a were created regulary!

greetz
xijo
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Mon Jun 13, 2005 12:45 pm    Post subject: Reply with quote

Pong, I have this too.
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Mon Jun 13, 2005 3:43 pm    Post subject: Reply with quote

I have filed a bug on b.g.o, would everyone who is experiencing this problem please be so kind as to post the output of `emerge --info`?

https://bugs.gentoo.org/show_bug.cgi?id=95974
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Tue Jun 14, 2005 11:24 am    Post subject: Reply with quote

Kick some more :roll:
Back to top
View user's profile Send private message
joaopft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 86
Location: Lisbon, Portugal

PostPosted: Fri Jul 15, 2005 10:52 pm    Post subject: Reply with quote

Tyler_Durden wrote:
Quote:

mh .. seems to be a hardware problem (chipset?)
we all have the Asus A8N-SLI - perhaps we should tell the ghostscript-developers about it!? - if it isn't a compiler problem..


This must be a compiler problem/incompatibility. BTW there is another candidate that generates this crash-problem:
libquicktime(-0.9.6-r1)



It should be a hardware problem. I did have a crash when emerging libquicktime, always on the same spot (compiling cmodel_default.c resulted in a crash). It turns out I had a hard-to-catch memory problem (related to an overclock). I upped VDIMM a little bit, and the problem went away.
_________________
Fiction is obliged to stick to possibilities. Truth isn't.
Mark Twain
Back to top
View user's profile Send private message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Sat Jul 16, 2005 7:54 am    Post subject: Reply with quote

I must admit I did indeed suffer from this problem, as detailed in a different topic in the same forum. That was on an NForce3 motherboard. There were definately no memory problems on that board, I had memtest86 run for a good couple of days without a problem.

That machine now has Windows XP installed on it, and is running fine.


The linux machine has been changed to an NForce4 Ultra (not SLI) board, with a 4200+ dual core processor, with the exact same hard drives as was on the old motherboard. Apart from a recompile of the kernel for SMP support, nothing apart from the motherboard and the graphics card had changed, an ghostscript compiled perfectly, as did libquicktime.

I have now changed the memory in this machine for 4x512mb and again I can still compile ghostscript and libquicktime.

I don't know what the code does that resets the machine when you try to emerge ghostscript, but from my point of view, where I have had 3 different motherboards, a VIA k8t800 pro, an NForce3 and an NForce4, the only system I couldn't compile ghostcript on was the NForce3 one.

Rob.
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
joaopft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 86
Location: Lisbon, Portugal

PostPosted: Sat Jul 16, 2005 10:46 am    Post subject: Reply with quote

robnotts wrote:
I must admit I did indeed suffer from this problem, as detailed in a different topic in the same forum. That was on an NForce3 motherboard. There were definately no memory problems on that board, I had memtest86 run for a good couple of days without a problem.


I have tested the overclock setup with memtest and Prime95, both run overnight and detected no problems. But these are not 64 bit apps, they don't put a lot of stress in the memory/chipset. Also, Windows XP is 32 bits (I never had problems with that thingy, either).

Going to amd64 gentoo, libquicktime and a couple more apps would only emerge with stock settings (processor @ 1800MHz and mem @ 400 MHz), although this is clearly below the possibilities of this hardware. With the overclocked settings, it would always crash when compiling cmodel_default.c. But, after raising the DRAM voltage from 2.6V to 2.8V the problem went away. It also goes away if I (instead of raising the DRAM voltage) lower the DRAM timings a little bit.

Anyway, I've noticed that cmodel_default.c takes a long time to compile. I think it goes on a long loop, or it calls some function recursively a lot of times. This puts a lot of stress in the memory bus, so it may detect an obscure problem with some hardware setups which passes undetected in a 32 bit environment. I would suggest you try to lower the DRAM timings a little bit (unlike raising voltages, it is safe) and see if the problem goes away.
_________________
Fiction is obliged to stick to possibilities. Truth isn't.
Mark Twain
Back to top
View user's profile Send private message
joaopft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 86
Location: Lisbon, Portugal

PostPosted: Sat Jul 16, 2005 10:21 pm    Post subject: Reply with quote

Well, I've heard that some combinations of Athlon 64 cores and nforce chips can have problems with some memory configurations.

I am really curious about that NF3 machine of yours. Just to be sure that your memory subsystem is not playing any tricks here, you could put your memory on a divider (say DRAM/FSB ratio of 1/2 -- it will lower memory to half speed). I don't know how is it called in your mobo, but your BIOS should have a setting for this.

At this speed, the memory subsystem will perform flawlessly. Then boot to amd64 and try to compile ghostscript, to see what happens.
_________________
Fiction is obliged to stick to possibilities. Truth isn't.
Mark Twain
Back to top
View user's profile Send private message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Sun Jul 17, 2005 7:58 am    Post subject: Reply with quote

Hmmm, a bit late for that now... but it does sound like a good experiment. There were other people with the exact same setup as mine around in the original thread who were having the same problem....

Rob.
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Wed Jul 27, 2005 12:00 pm    Post subject: Reply with quote

Is this ever actually going to get fixed? I'd like to do an emerge --newuse -Du world but I can't because of Ghostscript (I installed a binary package of it to work around it initially). This is infuriating at best. Why would it just hard-reset my PC when it reaches the arch.h stage?

For the record this machine is also an nForce 3 board.
Back to top
View user's profile Send private message
Sense
n00b
n00b


Joined: 23 Feb 2005
Posts: 29
Location: Germany

PostPosted: Sat Sep 17, 2005 6:19 pm    Post subject: Reply with quote

I have the same problem with my Asus A8N-SLI Deluxe, Amd64 3500+, 1GB Corsair memory, Leadtek 6600GT Extreme PCI-E (although this shouldn't matter ^^) for about 9 months now. I simply chose ghostscript-afpl and it works fine.

A friend with the same Asus board but an Amd64 X2 4400+ got the package compiled 15 minutes ago so I tried it again (just because it interests me)... with the same result... my machine completely hangs at the same line as on laffinboy's computer. This can not be any OC related failure...

The only differences I can see are
-I made a stage 1 on 3 installation, my friend a stage 1...
-He should have a slightly newer Bios (I've updated one or two months ago)

Is there any other solution or should I give it a try with the latest Bios? ^^
Back to top
View user's profile Send private message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Sat Sep 17, 2005 6:35 pm    Post subject: Reply with quote

Hang on a minute... you are on a single-core processor, and he is on a dual-core processor on the exact same model of motherboard? And the dual-core compiles ok? If anything was going to go wrong, I'd of put money onto the dual-core going tits-up (for non-British, wrong).

I know what you mean about the frustration though. I had a real nightmare with this... and at the time, the -afpl put it's libraries in the wrong place, so was effectively useless.

I know the error exists on the Nforce3 board, but once I'd change to an Nforce4(-ultra) board, with dual core, I had no problems.

Surely there must be a very simple fix?

Rob.
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
Sense
n00b
n00b


Joined: 23 Feb 2005
Posts: 29
Location: Germany

PostPosted: Sat Sep 17, 2005 6:53 pm    Post subject: Reply with quote

The only interesting hardware differences should be that he has:
-the newer dualcore X2 processor
-cheaper Corsair Memory (3200C2 instead of 3200XL series)
-a newer Bios

Ok, I'll give it a try with the latest Bios... hopefully bb in sime minutes (suxs that you can only flash the bios from Windows...) ^^
Back to top
View user's profile Send private message
Sense
n00b
n00b


Joined: 23 Feb 2005
Posts: 29
Location: Germany

PostPosted: Sat Sep 17, 2005 7:19 pm    Post subject: Reply with quote

No chance, even with the latest 1013 "Final" Bios without any OC the same crap... I don't think it could be any Hardware error in the Amd64 CPU, could it? Oo

Here my emerge --info:
Code:

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dba dvd dvdr eds emboss encode esd fam foomaticdb gif gnome gpm gstreamer gtk gtk2 imlib ipv6 ithreads java jpeg junit kde ldap libpng libwww lzw lzw-tiff mad mikmod mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia nvurses ogg oggvorbis opengl pam pdflib perl pic png pthreads python qt quicktime readline samba sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml2 xmms xpm xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

(It hangs with "standard" unoptimized build parameters, too!)

Maybe I should reopen the bug on https://bugs.gentoo.org/show_bug.cgi?id=95974 ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum