* Re: Qt on Linux-AXP
[not found] <m390kd174v.fsf@lupinella.troll.no>
@ 1998-08-25 14:26 ` Jochen Kuepper
1998-08-25 15:08 ` Brian E.W. Wood
1998-08-25 15:23 ` Quant-X Alpha Linux Support
0 siblings, 2 replies; 8+ messages in thread
From: Jochen Kuepper @ 1998-08-25 14:26 UTC (permalink / raw)
To: Arnt Gulbrandsen, Qt mailing list; +Cc: Alpha-Linux mailing list
Arnt,
thanks for your answers.
On Tue, 25 Aug 1998 Arnt Gulbrandsen wrote:
>Jochen Kuepper <jochen@uni-duesseldorf.de>
>> Qt-1.40 does not work on Linux-AXP - at least not when using egcs, don't know
>> about gcc-2.7 and such.
>
>egcs 1.0.3 and probably other versions can compile qt as a static
>library but not as a shared library on alpha and on 64-bit hp
>processors.
Well, thanks.
>gcc 2.7.x works.
That is not an option for C++ !-?
>> Arnt, reading your mail on Qt-2.0, will Qt-1.41 work on our
>> Linux-AXP systems ?
>
>Not likely.
>> Do you by chance know what's causing the problems ?
>
>Looked like egcs fuckage.
I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
problems. Do you have any idea what's happening ? Any hint where to look at ?
Does egcs generate working shared Qt-libraries on any 64 bit system ? Does any
other compiler generate correct libs on the 64 bit systems egcs fails on ?
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] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-25 14:26 ` Qt on Linux-AXP Jochen Kuepper
@ 1998-08-25 15:08 ` Brian E.W. Wood
1998-08-25 15:11 ` Jochen Kuepper
1998-08-25 15:23 ` Quant-X Alpha Linux Support
1 sibling, 1 reply; 8+ messages in thread
From: Brian E.W. Wood @ 1998-08-25 15:08 UTC (permalink / raw)
To: Jochen Kuepper
Cc: Alpha-Linux mailing list, Alpha-Linux mailing list,
Qt mailing list, Arnt Gulbrandsen
On 25-Aug-98 Jochen Kuepper wrote:
> I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
> problems. Do you have any idea what's happening ? Any hint where to look at ?
> Does egcs generate working shared Qt-libraries on any 64 bit system ? Does
> any
> other compiler generate correct libs on the 64 bit systems egcs fails on ?
ECGS 1.0.3a compiled QT-1.33 just fine on my Alpha 164SX system, as well as on
an AS-200 and a UDB (took a while on the UDB though).
My understanding is that 1.0.3a was released to correct some bugs that were
specific to alpha systems.
---
Brian E.W. Wood beww@intac.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-25 15:08 ` Brian E.W. Wood
@ 1998-08-25 15:11 ` Jochen Kuepper
0 siblings, 0 replies; 8+ messages in thread
From: Jochen Kuepper @ 1998-08-25 15:11 UTC (permalink / raw)
To: beww, Brian E.W. Wood; +Cc: Alpha-Linux mailing list, egcs
Some explanations:
egcs cannot generate correct shared libs of Qt (Troll Tech GUI-library) on 64
bit systems, every program core dumps right on the beginning. Static libs are
said to work ok.
On Tue, 25 Aug 1998 Brian E.W. Wood wrote:
>On 25-Aug-98 Jochen Kuepper wrote:
>> I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
>> problems. Do you have any idea what's happening ? Any hint where to look at ?
>> Does egcs generate working shared Qt-libraries on any 64 bit system ? Does
>> any
>> other compiler generate correct libs on the 64 bit systems egcs fails on ?
>
>ECGS 1.0.3a compiled QT-1.33 just fine on my Alpha 164SX system, as well as on
>an AS-200 and a UDB (took a while on the UDB though).
Yes, Qt-1.33 is fine. Qt-1.40 is not !
>My understanding is that 1.0.3a was released to correct some bugs that were
>specific to alpha systems.
I am talking on egcs-1.0.3a (which is only documentation-wise different to
1.0.3, IIRC) and on egcs-1.1pre cvs sources (last week).
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] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-25 14:26 ` Qt on Linux-AXP Jochen Kuepper
1998-08-25 15:08 ` Brian E.W. Wood
@ 1998-08-25 15:23 ` Quant-X Alpha Linux Support
1998-08-25 15:46 ` Jochen Kuepper
1998-08-26 6:55 ` Jochen Kuepper
1 sibling, 2 replies; 8+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-08-25 15:23 UTC (permalink / raw)
To: jochen; +Cc: agulbra, qt-interest, axp-list
Hi Jochen !
[compiling Qt 1.40 under AXP]
> I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
> problems. Do you have any idea what's happening ? Any hint where to look at ?
> Does egcs generate working shared Qt-libraries on any 64 bit system ? Does any
> other compiler generate correct libs on the 64 bit systems egcs fails on ?
I'm not quite shure if we should talk about an egcs bug.
I'm not interested in Qt 1.40 (because Qt 1.33 works) but this could
be a problem in the future. Could you try (or anybody else) to use
the latest binutil package released by H.J. Lu for building the libs ?
(Do you remember the scope bug ?)
ciao -
Stefan
--
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] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-25 15:23 ` Quant-X Alpha Linux Support
@ 1998-08-25 15:46 ` Jochen Kuepper
1998-08-26 6:55 ` Jochen Kuepper
1 sibling, 0 replies; 8+ messages in thread
From: Jochen Kuepper @ 1998-08-25 15:46 UTC (permalink / raw)
To: Quant-X Alpha Linux Support, Quant-X Alpha Linux Support
Cc: qt-interest, axp-list
On Tue, 25 Aug 1998 Quant-X Alpha Linux Support wrote:
>[compiling Qt 1.40 under AXP]
>
>> I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
>> problems. Do you have any idea what's happening ? Any hint where to look at ?
>> Does egcs generate working shared Qt-libraries on any 64 bit system ? Does any
>> other compiler generate correct libs on the 64 bit systems egcs fails on ?
>
>I'm not quite shure if we should talk about an egcs bug.
>
>I'm not interested in Qt 1.40 (because Qt 1.33 works) but this could
>be a problem in the future. Could you try (or anybody else) to use
Well, same here.
>the latest binutil package released by H.J. Lu for building the libs ?
I am using binutils 2.9.1.0.7 - these are pretty recent, I guess. I will see
wether I can find any newer and try them out.
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] 8+ messages in thread
* Re: Qt on Linux-AXP
[not found] <5067fhukgr.fsf@Zeus.funcom.com>
@ 1998-08-25 15:54 ` Jochen Kuepper
0 siblings, 0 replies; 8+ messages in thread
From: Jochen Kuepper @ 1998-08-25 15:54 UTC (permalink / raw)
To: Andre Johansen; +Cc: Qt mailing list, Alpha-Linux mailing list
On Tue, 25 Aug 1998 Andre Johansen wrote:
>* Jochen Kuepper wrote:
>| Any hint where to look at ? Does egcs generate working shared
>| Qt-libraries on any 64 bit system ? Does any other compiler generate
>| correct libs on the 64 bit systems egcs fails on ?
>
>Qt v1.40 doesn't work in Digital Unix with Digital's own compiler
>(cxx) either, so it's not for sure it's an egcs bug (Qt 1.33 did work
>with the same setup).
>
>However, I just tried to compile Qt as a 64-bit shared library on
>Irix (with MIPSpro), and that worked just fine.
Does egcs generate in general correct shared libs on that SGI machine ?
Does it do for Qt-1.40 ?
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] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-25 15:23 ` Quant-X Alpha Linux Support
1998-08-25 15:46 ` Jochen Kuepper
@ 1998-08-26 6:55 ` Jochen Kuepper
1998-08-26 19:07 ` Richard Henderson
1 sibling, 1 reply; 8+ messages in thread
From: Jochen Kuepper @ 1998-08-26 6:55 UTC (permalink / raw)
To: Quant-X Alpha Linux Support, Quant-X Alpha Linux Support
Cc: qt-interest, axp-list, egcs, egcs-bugs
On Tue, 25 Aug 1998 Quant-X Alpha Linux Support wrote:
>[compiling Qt 1.40 under AXP]
>
>> I tried the egcs-1.1 cvs tree on it as well (most recently on Thursday). Same
>> problems. Do you have any idea what's happening ? Any hint where to look at ?
>> Does egcs generate working shared Qt-libraries on any 64 bit system ? Does any
>> other compiler generate correct libs on the 64 bit systems egcs fails on ?
>
>I'm not quite shure if we should talk about an egcs bug.
>
>I'm not interested in Qt 1.40 (because Qt 1.33 works) but this could
>be a problem in the future. Could you try (or anybody else) to use
>the latest binutil package released by H.J. Lu for building the libs ?
>(Do you remember the scope bug ?)
So I installed binutils-2.9.1.0.10, build a up to date egcs-1.1pre (cvs
sources of last night) and with that build libqt.so.1.40
(target: linux-g++-shared-debug).
Same result:
Built qt/examples/application/application
> gdb ./application
GNU gdb 4.17
[ license ]
This GDB was configured as "alphaev5-dec-linux-gnu"...
(gdb) run
Starting program: /usr/local/share/qt-1.40/examples/application/./application
Program received signal SIGSEGV, Segmentation fault.
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x48c6d4
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.
0x48c6d4 in ?? ()
Current language: auto; currently c
(gdb) where
#0 0x48c6d4 in ?? ()
#1 0x15555779fd0 in QColor::QColor (this=0x15555b0dab0, r=0, g=0, b=0) at kernel/qcolor.h:132
#2 0x15555779bac in global constructors keyed to color0 () at kernel/qcolor.cpp:87
#3 0x155559c1018 in __do_global_ctors_aux () at ../sysdeps/alpha/elf/crtend.S:75
#4 0x1555574c6ec in _init ()
(gdb)
The constructor QColor::QColor( r, g, b ) just calls QColor::setRgb( r, g, b ),
but it looks like we don't get there ?
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] 8+ messages in thread
* Re: Qt on Linux-AXP
1998-08-26 6:55 ` Jochen Kuepper
@ 1998-08-26 19:07 ` Richard Henderson
0 siblings, 0 replies; 8+ messages in thread
From: Richard Henderson @ 1998-08-26 19:07 UTC (permalink / raw)
To: jochen, Quant-X Alpha Linux Support, Quant-X Alpha Linux Support
Cc: qt-interest, axp-list, egcs, egcs-bugs
On Wed, Aug 26, 1998 at 08:55:47AM +0200, Jochen Kuepper wrote:
> #0 0x48c6d4 in ?? ()
> #1 0x15555779fd0 in QColor::QColor (this=0x15555b0dab0, r=0, g=0, b=0) \
> at kernel/qcolor.h:132
> #2 0x15555779bac in global constructors keyed to color0 () \
> at kernel/qcolor.cpp:87
> #3 0x155559c1018 in __do_global_ctors_aux () \
> at ../sysdeps/alpha/elf/crtend.S:75
> #4 0x1555574c6ec in _init ()
> (gdb)
>
> The constructor QColor::QColor( r, g, b ) just calls QColor::setRgb(r,g,b),
> but it looks like we don't get there ?
It sounds more like an ld or ld.so bug. Can you step through
QColor::QColor instruction by instruction to see exactly where
things go wrong? Perhaps a vtable was not relocated properly,
or a mistake in .got generation or something. Depends on the
nature of setRgb...
I'll also want version info on the binutils and libc involved.
r~
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-08-26 19:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m390kd174v.fsf@lupinella.troll.no>
1998-08-25 14:26 ` Qt on Linux-AXP Jochen Kuepper
1998-08-25 15:08 ` Brian E.W. Wood
1998-08-25 15:11 ` Jochen Kuepper
1998-08-25 15:23 ` Quant-X Alpha Linux Support
1998-08-25 15:46 ` Jochen Kuepper
1998-08-26 6:55 ` Jochen Kuepper
1998-08-26 19:07 ` Richard Henderson
[not found] <5067fhukgr.fsf@Zeus.funcom.com>
1998-08-25 15:54 ` Jochen Kuepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox