openoffice-devel compile problems ...

ivan georgiev ioang at verizon.net
Mon Oct 13 17:17:11 PDT 2003


On Monday 13 October 2003 07:40 pm, Jens Rehsack wrote:
> ivan georgiev wrote:
> > On Monday 13 October 2003 07:05 pm, Jens Rehsack wrote:
> >>ivan georgiev wrote:
> >>>I tried three times to compile openoffice-devel (I use 5-1p10)
> >>>and it always fails when compiling mozilla - on different places
> >>>and always with a core dump. I saw some messages that people are
> >>>happy with it (therefore it must be compileable). Do I have to
> >>> do something special besaides the
> >>>"portinstall  /usr/ports/editors/openoffice-devel" which I use?
> >>
> >>Maybe you've specified a to high optimization level in
> >>/etc/make.conf. Check you CFLAGS. Mozilla build break
> >>mostly with anything higher than "-O2".
> >>
> >>Regards,
> >>Jens
> >
> > Thanks Jens,
> >
> > I have:
> > CFLAGS=-O1 -pipe
> > CPUTYPE=p4
> > in make.conf . I do not think it is a hardware/memory problem,
> > because "make -j4 buildworld" always finishes without a glitch.
> > What else can I check/modify?
>
> Maybe it would be better to set CPUTYPE to p3, 'cause the cc of 5.1
> is known to produce bad code for pentium4 in some situations.
> Furthermore it would really help if you send the message the build
> dumps with.

Here is the place where it core dumps:

nsICookieService.idl
../../../dist/bin/xpidl -m header -w -I ../../../dist/idl -I. -o 
_xpidlgen/nsICookieService nsICookieService.idl
gmake[4]: *** [../../../dist/include/necko] Illegal instruction (core 
dumped)
gmake[4]: Leaving directory `/usr/ports/editors/openoffice-devel/work/
mozilla/work/mozilla/netwerk/cookie/public'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/usr/ports/editors/openoffice-devel/work/
mozilla/work/mozilla/netwerk/cookie'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/usr/ports/editors/openoffice-devel/work/
mozilla/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/editors/openoffice-devel/work/
mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/editors/openoffice-devel/work/mozilla.
*** Error code 1

Stop in /usr/ports/editors/openoffice-devel.
*** Error code 1

Stop in /usr/ports/editors/openoffice-devel.
*** Error code 1

Stop in /usr/ports/editors/openoffice-devel.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/
portinstall23087.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded 
(*:skipped / !:failed)
        ! editors/openoffice-devel      (coredump)


Ivan



More information about the freebsd-questions mailing list