Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Qt1.4 SeqFaults on dec alpha station!
@ 1998-07-15  0:41 Weiping Hu
  1998-07-15  1:01 ` Brian Wood
  1998-07-15  8:09 ` Jochen Kuepper
  0 siblings, 2 replies; 6+ messages in thread
From: Weiping Hu @ 1998-07-15  0:41 UTC (permalink / raw)
  To: axp-list

My system configuration:

AS 4/233
RedHat 5.1
kernel-source-2.0.34-0
egcs-c++-1.0.2-8
egcs-1.0.2-8


Hello, all!  I'm having problems compiling Qt1.4 on a Dec Alpha
station, and was wondering if anyone out there had similar problems,
or better has had luck in successfully compiling it.  Actually, the
compilation was clean.  The problem is whenever I try to run any of
the examples and tutorials, I get the famous "Segmentation fault.
Core dumped" message.  Here is a brief description of my procedure:

# export QTDIR=/usr/local/qt
# export LD_LIBRARY_PATH=/usr/local/qt/lib
# export PATH=/usr/local/qt/bin:$PATH    (To ensur the correct moc is
used)

# make linux-g++-shared  (I also tried linux-g++-static,
linux-g++-static-debug)

# make

# cd examples/hello
#./hello
Segmentation fault.

It would happend to any example.  I also tried to debug the
'linux-g++-static-debug' version, and got the following:

(gdb) list
19
20      int main( int argc, char **argv )
21      {
22          QApplication a(argc,argv);
(gdb) break main
Breakpoint 1 at 0x120004128: file main.cpp, line 22.
(gdb) run
Starting program: /usr/local/qt/examples/hello/hello 

Program received signal SIGSEGV, Segmentation fault.
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x3a5978
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x3a5978 in ?? ()
Current language:  auto; currently c


Any info/hints/clues appreciated.  BTW, I had no problem in installing 
on i386.


Weiping
-- 
Weiping Hu
Defence Science and Technology Organisation
Fishermens Bend, Australia

------- End of forwarded message -------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Qt1.4 SeqFaults on dec alpha station!
  1998-07-15  0:41 Qt1.4 SeqFaults on dec alpha station! Weiping Hu
@ 1998-07-15  1:01 ` Brian Wood
  1998-07-15  7:14   ` Quant-X Alpha Linux Support
                     ` (2 more replies)
  1998-07-15  8:09 ` Jochen Kuepper
  1 sibling, 3 replies; 6+ messages in thread
From: Brian Wood @ 1998-07-15  1:01 UTC (permalink / raw)
  To: axp-list

Weiping Hu wrote:
> 
> My system configuration:
> 
> AS 4/233
> RedHat 5.1
> kernel-source-2.0.34-0
> egcs-c++-1.0.2-8
> egcs-1.0.2-8

I haven't tried QT1.4 but 1.33 compiled OK on my RH5.0 system using EGCS
1.0.3a. You might try upgrading to that slightly newer EGCS.

Another problem I discovered was that some of KDE 1.0 didn't compile
properly with a pristine kernel source tree patched for alpha at
/usr/src/linux. When I linked RedHat's original source tree to
/usr/src/linux these problems went away.

I've seen some negative comments, as well as some good ones. on the KDE
mailing list.

Just some thoughts.

-- 
Brian E.W. Wood - beww@intac.com
"Very Funny Scotty, Now BEAM DOWN MY CLOTHES"


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Qt1.4 SeqFaults on dec alpha station!
  1998-07-15  1:01 ` Brian Wood
@ 1998-07-15  7:14   ` Quant-X Alpha Linux Support
  1998-07-15  8:13   ` Jochen Kuepper
  1998-07-15 23:05   ` Weiping Hu
  2 siblings, 0 replies; 6+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-07-15  7:14 UTC (permalink / raw)
  To: axp-list

Hi Brian !

> > egcs-c++-1.0.2-8
> > egcs-1.0.2-8

> I haven't tried QT1.4 but 1.33 compiled OK on my RH5.0 system using EGCS
> 1.0.3a. You might try upgrading to that slightly newer EGCS.

I haven't tried it too, but 1.33 compiles OK on my RH5.1 system using
egcs-1.0.2-8; the same combination (except Qt) that the initial author has.
So maybe Qt makes the difference.

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Qt1.4 SeqFaults on dec alpha station!
  1998-07-15  0:41 Qt1.4 SeqFaults on dec alpha station! Weiping Hu
  1998-07-15  1:01 ` Brian Wood
@ 1998-07-15  8:09 ` Jochen Kuepper
  1 sibling, 0 replies; 6+ messages in thread
From: Jochen Kuepper @ 1998-07-15  8:09 UTC (permalink / raw)
  To: axp-list

On Wed, 15 Jul 1998 Weiping Hu wrote:

>Hello, all!  I'm having problems compiling Qt1.4 on a Dec Alpha
>station, and was wondering if anyone out there had similar problems,
>or better has had luck in successfully compiling it.  Actually, the
>compilation was clean.  The problem is whenever I try to run any of
>the examples and tutorials, I get the famous "Segmentation fault.
>Core dumped" message.  Here is a brief description of my procedure:

I already reported the same problem yesterday. No success yet.

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Qt1.4 SeqFaults on dec alpha station!
  1998-07-15  1:01 ` Brian Wood
  1998-07-15  7:14   ` Quant-X Alpha Linux Support
@ 1998-07-15  8:13   ` Jochen Kuepper
  1998-07-15 23:05   ` Weiping Hu
  2 siblings, 0 replies; 6+ messages in thread
From: Jochen Kuepper @ 1998-07-15  8:13 UTC (permalink / raw)
  To: axp-list, Brian Wood

On Wed, 15 Jul 1998 Brian Wood wrote:

>I haven't tried QT1.4 but 1.33 compiled OK on my RH5.0 system using EGCS
>1.0.3a. You might try upgrading to that slightly newer EGCS.

Well, I have. With egcs-1.0.3a and current egcs-CVS sources I cannot run
QT-1.40 - Qt-1.33 is running fine, though.

>Another problem I discovered was that some of KDE 1.0 didn't compile
>properly with a pristine kernel source tree patched for alpha at
>/usr/src/linux. When I linked RedHat's original source tree to

It does for me. Kernel-2.0.34 + alpha-patches-0.1.
Do you have a link from /usr/include/net to the linux kernel - thats wrong with
glibc-2 ! glibc expects this to be a real (static) directory and copies files
into. Whenever you upgrade you kernel, you will loose these.


Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Qt1.4 SeqFaults on dec alpha station!
  1998-07-15  1:01 ` Brian Wood
  1998-07-15  7:14   ` Quant-X Alpha Linux Support
  1998-07-15  8:13   ` Jochen Kuepper
@ 1998-07-15 23:05   ` Weiping Hu
  2 siblings, 0 replies; 6+ messages in thread
From: Weiping Hu @ 1998-07-15 23:05 UTC (permalink / raw)
  To: axp-list

I upgraded egcs to 1.0.3a, and Qt1.4 still won't run, although the
compilation is still clean.  Qt1.3 compiles uncleanly, but runs.
Kde1.0 installation went fine.

I'd still be interested to hear successful stories about
Qt1.4/egcs/kernel2.0.34/RH5.1.

Weiping


Brian Wood <beww@intac.com> writes:

> Weiping Hu wrote:
> > 
> > My system configuration:
> > 
> > AS 4/233
> > RedHat 5.1
> > kernel-source-2.0.34-0
> > egcs-c++-1.0.2-8
> > egcs-1.0.2-8
> 
> I haven't tried QT1.4 but 1.33 compiled OK on my RH5.0 system using EGCS
> 1.0.3a. You might try upgrading to that slightly newer EGCS.
> 
> 
> -- 
> Brian E.W. Wood - beww@intac.com
> "Very Funny Scotty, Now BEAM DOWN MY CLOTHES"
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

-- 
Weiping Hu
Defence Science and Technology Organisation
Fishermens Bend, Australia


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-07-15 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-15  0:41 Qt1.4 SeqFaults on dec alpha station! Weiping Hu
1998-07-15  1:01 ` Brian Wood
1998-07-15  7:14   ` Quant-X Alpha Linux Support
1998-07-15  8:13   ` Jochen Kuepper
1998-07-15 23:05   ` Weiping Hu
1998-07-15  8:09 ` Jochen Kuepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox