Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Firefox 1.0.7 and latest C++ compiler (7.1)
@ 2005-11-22  4:45 Albert Chin
  2005-11-29 17:28 ` Urs Traber
  2005-11-30 18:13 ` Hayashi Naoyuki
  0 siblings, 2 replies; 9+ messages in thread
From: Albert Chin @ 2005-11-22  4:45 UTC (permalink / raw)


Has anyone built Firefox 1.0.7 with the latest C++ compiler, v7.1? It
builds successfully but we get a lot of:
    Incurred fault #32, FLTBOUNDS  %pc = 0x000003FF80194588   addr = 0x000000011FFFA370
errors when running the executable with truss. The V6.5-042 compiler
has no problems running Firefox 1.0.7.

When IBM upgraded their compiler to v7, Firefox crashed on startup
(PR275004). It was due to a different stack layout in the new
compiler.

I've read through the release notes for the v7.1 compiler but don't
see anything obvious that would cause a problem.

-- 
albert chin (china @at@ thewrittenword .dot. com)


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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-22  4:45 Firefox 1.0.7 and latest C++ compiler (7.1) Albert Chin
@ 2005-11-29 17:28 ` Urs Traber
  2005-11-29 18:34   ` Albert Chin
  2005-11-30 18:13 ` Hayashi Naoyuki
  1 sibling, 1 reply; 9+ messages in thread
From: Urs Traber @ 2005-11-29 17:28 UTC (permalink / raw)


Hi Albert,

Sorry that I can't give you any answer to your question since I am
still using V6.1-029.

What I would like to ask you is what X toolkit and version you build
against: gtk, gtk2 or xlib?

I have been struggling building mozilla for quite some time now and any
combination is either so buggy (gtk, xlib) that it is unusable or does
not even build (gtk2).

TIA
Urs



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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-29 17:28 ` Urs Traber
@ 2005-11-29 18:34   ` Albert Chin
  2005-11-30 11:23     ` Urs Traber
  0 siblings, 1 reply; 9+ messages in thread
From: Albert Chin @ 2005-11-29 18:34 UTC (permalink / raw)


Urs Traber <urs.traber@swissonline.ch> wrote:
> Sorry that I can't give you any answer to your question since I am
> still using V6.1-029.
> 
> What I would like to ask you is what X toolkit and version you build
> against: gtk, gtk2 or xlib?

gtk2.

> I have been struggling building mozilla for quite some time now and any
> combination is either so buggy (gtk, xlib) that it is unusable or does
> not even build (gtk2).

We have Firefox, Mozilla, and Thunderbird built with V6.5-042 working
fine.

-- 
albert chin (china @at@ thewrittenword .dot. com)


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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-29 18:34   ` Albert Chin
@ 2005-11-30 11:23     ` Urs Traber
  2005-12-01 14:29       ` Hayashi Naoyuki
  2005-12-02 17:27       ` Albert Chin
  0 siblings, 2 replies; 9+ messages in thread
From: Urs Traber @ 2005-11-30 11:23 UTC (permalink / raw)


The problem I faced when I tried to build mozilla 1.7.12 with gtk2 is
that ./configure asked for libIDL >= 0.8. This is quite contrary to
what I have read: mozilla's IDL generator (xpidl) works with libIDL
0.6x versions only. I have tried 0.86 - and xpidl failed miserably ...

So what versions of the Gnome packages do you use?

libIDL
glib2
gtk2

Urs



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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-22  4:45 Firefox 1.0.7 and latest C++ compiler (7.1) Albert Chin
  2005-11-29 17:28 ` Urs Traber
@ 2005-11-30 18:13 ` Hayashi Naoyuki
  2005-12-01  9:26   ` Urs Traber
  2005-12-02 17:26   ` Albert Chin
  1 sibling, 2 replies; 9+ messages in thread
From: Hayashi Naoyuki @ 2005-11-30 18:13 UTC (permalink / raw)


Hi.
The problem(build OK, but cannot run) is occurred to the following
environment too.
target Firefox is trunk version.
Compaq C++ V7.1-006(V6.5-042 has no problem.)
gtk+ v1.2.10
glib v1.2.10
ORBit(libIDL) v0.5.7


Strangely, it is possible to run Firefox builded with -gall option.

----- begin .mozconfig -------
. $topsrcdir/browser/config/mozconfig
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize=""
ac_add_options --enable-crypto
ac_add_options --enable-extensions="default -negotiateauth"
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --enable-default-toolkit=gtk
----- end .mozconfig -------

build command(with -g, -gall option)
$ gmake -f client.mk \
	CC="cc -pthread -g" \
	CXX="cxx -pthread -gall" \
	SHELL=/usr/bin/ksh \
	CPPFLAGS="-I/usr/local/include" \
	LDFLAGS="-L/usr/local/lib" \
	build


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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-30 18:13 ` Hayashi Naoyuki
@ 2005-12-01  9:26   ` Urs Traber
  2005-12-02 17:26   ` Albert Chin
  1 sibling, 0 replies; 9+ messages in thread
From: Urs Traber @ 2005-12-01  9:26 UTC (permalink / raw)


Below is how I configured mozilla so far (part of my makefile to build
a product kit). This builds with cxx V6.1-029 and runs with glib
v1.2.10, gtk+ v1.2.10, libIDL v0.6.8.

However, one of the problems I have with this is that images (bmp,
jpeg, png) are displayed in a screwed fashion by the browser. When I
clean gtk+ from the system and build with
--enable-default-toolkit=xlib, the image problem is gone but others
appear, e.g. mozilla hanging every time when I close one of its windows
(e.g. the properties box).

.../../configure $(BUILD_DIR)/Makefile : $(BUILD_DIR)
        cd $(BUILD_DIR) && \
        CFLAGS='-w0 -std1 -g' \
        CXXFLAGS='-w1 -gall' \
        CPPFLAGS='-I/usr/local/include' \
        LDFLAGS=' -L/usr/local/lib' \
        LD='ld' \
        BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 ../../configure \
                --prefix=$(PREFIX) \
                --mandir=$(PREFIX)/share/man \
                --infodir=$(PREFIX)/share/info \
                --with-default-mozilla-five-home=$(PREFIX)/lib/mozilla
\
                --enable-debug \
                --disable-optimize \
                --enable-shared \
                --disable-static \
                --with-x \
                --with-pthreads \
                --with-libIDL-prefix=/usr/local \
                --with-glib-prefix=/usr/local \
                --with-gtk-prefix=/usr/local \
                --enable-default-toolkit=gtk \
                --enable-extensions \
                --enable-crypto \
                --with-system-jpeg=/usr/local \
                --with-system-zlib=/usr/local \
                --with-system-png=/usr/local \
                --enable-image-decoders \
                --enable-composer \
                --enable-mailnews \
                --enable-calender \
                --disable-cpp-exceptions \
                --disable-freetype2 \
                --disable-xprint \
                --disable-xinerama \
                --disable-gssapi \
                --disable-ctl \
                --disable-gnomevfs \
                --disable-tests \
                $(NULL)



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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-30 11:23     ` Urs Traber
@ 2005-12-01 14:29       ` Hayashi Naoyuki
  2005-12-02 17:27       ` Albert Chin
  1 sibling, 0 replies; 9+ messages in thread
From: Hayashi Naoyuki @ 2005-12-01 14:29 UTC (permalink / raw)


I succeeded in build of Firefox(trunk, gtk2) with the following tools.

Compaq C++ V6.5-042
pkgconfig-0.15.0.tar.gz
freetype-2.1.7.tar.gz
pcre-5.0.tar.gz
render-0.8.tar.gz
expat-1.95.8.tar.gz
fontconfig-2.3.1.tar.gz
xrender-0.8.3.tar.gz
libXft-2.1.7.tar.gz
glib-2.8.4.tar.gz
atk-1.10.3.tar.gz
cairo-1.0.2.tar.gz
pango-1.10.1.tar.gz
gtk+-2.8.7.tar.gz
popt-1.7.tar.gz
libIDL-0.8.6.tar.gz
ORBit2-2.13.2.tar.gz
and so on.

The compilation of some tools require patches.
e.g. ORBit2, cairo, expat and tools using "ld -pthread" when linking.


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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-30 18:13 ` Hayashi Naoyuki
  2005-12-01  9:26   ` Urs Traber
@ 2005-12-02 17:26   ` Albert Chin
  1 sibling, 0 replies; 9+ messages in thread
From: Albert Chin @ 2005-12-02 17:26 UTC (permalink / raw)


Hayashi Naoyuki <netnews@culzean.org> wrote:
> Hi.
> The problem(build OK, but cannot run) is occurred to the following
> environment too.
> target Firefox is trunk version.
> Compaq C++ V7.1-006(V6.5-042 has no problem.)
> gtk+ v1.2.10
> glib v1.2.10
> ORBit(libIDL) v0.5.7

Don't build with -O2. -O1 works. We've reported this problem to HP.

-- 
albert chin (china @at@ thewrittenword .dot. com)


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

* Re: Firefox 1.0.7 and latest C++ compiler (7.1)
  2005-11-30 11:23     ` Urs Traber
  2005-12-01 14:29       ` Hayashi Naoyuki
@ 2005-12-02 17:27       ` Albert Chin
  1 sibling, 0 replies; 9+ messages in thread
From: Albert Chin @ 2005-12-02 17:27 UTC (permalink / raw)


Urs Traber <urs.traber@swissonline.ch> wrote:
> The problem I faced when I tried to build mozilla 1.7.12 with gtk2 is
> that ./configure asked for libIDL >= 0.8. This is quite contrary to
> what I have read: mozilla's IDL generator (xpidl) works with libIDL
> 0.6x versions only. I have tried 0.86 - and xpidl failed miserably ...
> 
> So what versions of the Gnome packages do you use?
> 
> libIDL
> glib2
> gtk2

libIDL-0.6.x is required when using gtk+-1.2.x. libIDL-0.8.x is
required when using gtk+-2.x.

-- 
albert chin (china @at@ thewrittenword .dot. com)


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

end of thread, other threads:[~2005-12-02 17:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22  4:45 Firefox 1.0.7 and latest C++ compiler (7.1) Albert Chin
2005-11-29 17:28 ` Urs Traber
2005-11-29 18:34   ` Albert Chin
2005-11-30 11:23     ` Urs Traber
2005-12-01 14:29       ` Hayashi Naoyuki
2005-12-02 17:27       ` Albert Chin
2005-11-30 18:13 ` Hayashi Naoyuki
2005-12-01  9:26   ` Urs Traber
2005-12-02 17:26   ` Albert Chin

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