Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 May 2002 12:47:17 +1200
From:      Matthew Luckie <kluckie@ihug.co.nz>
To:        freebsd-alpha@freebsd.org
Cc:        kluckie@ihug.co.nz
Subject:   mozilla 1.0rc1 compile on alpha
Message-ID:  <3CD08C95.9040102@ihug.co.nz>

next in thread | raw e-mail | index | archive | help
I've been following the mozilla build problems on alpha for the past 
week.  I have seen in the archives a few people having problems 
compiling 1.0rc1, specifically it stops when it gets to config/pathsub.c

As was previously noted, if you compile pathsub.c without 
--ffunction-sections, it is built without problems.

i'm running freebsd-4.5 cvsup'd Feb 14 2002.  any comments?

========================

[root@latex config]# cc -v -o pathsub.o -c -DOSTYPE=\"FreeBSD4\" 
-DOSARCH=\"FreeBSD\" -DOJI   -I../dist/include -I../dist/include 
-I/usr/tmp/usr/ports/www/mozilla/work/mozilla/dist/include/nspr 
-I/usr/local/include -I/usr/local/include   -I/usr/X11R6/include   -fPIC 
-I/usr/X11R6/include  -I/usr/X11R6/include -Wall -W -Wno-unused 
-Wpointer-arith -Wcast-align -Wno-long-long -O -pipe -mcpu=ev4 -DNDEBUG 
-DTRIMMED -ffunction-sections  -I/usr/X11R6/include 
-I/usr/X11R6/include -include ../config-defs.h -DMOZILLA_CLIENT pathsub.c
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
  /usr/libexec/cpp0 -lang-c -v -I../dist/include -I../dist/include 
-I/usr/tmp/usr/ports/www/mozilla/work/mozilla/dist/include/nspr 
-I/usr/local/include -I/usr/local/include -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include 
-I/usr/X11R6/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__alpha__ 
-D__alpha -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 -Dunix 
-D__alpha__ -D__alpha -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 
-D__unix__ -D__unix -Acpu(alpha) -Amachine(alpha) -Asystem(unix) 
-Asystem(FreeBSD) -D__OPTIMIZE__ -Wall -W -Wno-unused -Wpointer-arith 
-Wcast-align -Wno-long-long -Acpu(alpha) -Amachine(alpha) -D__alpha 
-D__alpha__ -D__alpha_ev4__ -Acpu(ev4) -D__ELF__ -D__PIC__ -D__pic__ 
-DOSTYPE="FreeBSD4" -DOSARCH="FreeBSD" -DOJI -DNDEBUG -DTRIMMED 
-DMOZILLA_CLIENT -include ../config-defs.h pathsub.c |
  /usr/libexec/cc1 -quiet -dumpbase pathsub.c -mcpu=ev4 -O -Wall -W 
-Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -version -fPIC 
-ffunction-sections -o - |
  /usr/libexec/elf/as - -mev4 -o pathsub.o
GNU CPP version 2.95.3 20010315 (release) [FreeBSD] (FreeBSD/Alpha ELF)
#include "..." search starts here:
#include <...> search starts here:
  ../dist/include
  /usr/tmp/usr/ports/www/mozilla/work/mozilla/dist/include/nspr
  /usr/local/include
  /usr/X11R6/include
  /usr/include
  /usr/include
End of search list.
The following default directories have been omitted from the search path:
  /usr/include/g++
End of omitted list.
GNU C version 2.95.3 20010315 (release) [FreeBSD] 
(alpha-unknown-freebsd) compiled by GNU C version 2.95.3 20010315 
(release) [FreeBSD].
pathsub.o: Undefined error: 0
{standard input}: Assembler messages:
{standard input}:657: FATAL: Can't write pathsub.o: Undefined error: 0

===============================

[root@latex config]#/usr/libexec/cpp0 -lang-c -v -I../dist/include 
-I../dist/include 
-I/usr/tmp/usr/ports/www/mozilla/work/mozilla/dist/include/nspr 
-I/usr/loca al/include -I/usr/local/include -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/ /X11R6/include -I/usr/X11R6/include 
-I/usr/X11R6/include -D__GNUC__=2 -D__GNUC_MI INOR__=95 -D__alpha__ 
-D__alpha -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 -Du unix 
-D__alpha__ -D__alpha -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 
-D__unix x__ -D__unix -Acpu\(alpha\) -Amachine\(alpha\) -Asystem\(unix\) 
-Asystem\(FreeBSD D\) -D__OPTIMIZE__ -Wall -W -Wno-unused 
-Wpointer-arith -Wcast-align -Wno-long-lo ong -Acpu\(alpha\) 
-Amachine\(alpha\) -D__alpha -D__alpha__ -D__alpha_ev4__ -Acpu u\(ev4\) 
-D__ELF__ -D__PIC__ -D__pic__ -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" 
" -DOJI -DNDEBUG -DTRIMMED -DMOZILLA_CLIENT -include ../config-defs.h 
pathsub.c | | /usr/libexec/cc1 -quiet -dumpbase pathsub.c -mcpu=ev4 -O 
-Wall -W -Wno-unused - -Wpointer-arith -Wcast-align -Wno-long-long 
-version -fPIC -ffunction-sections -o o - >pathsub.as
GNU C version 2.95.3 20010315 (release) [FreeBSD] 
(alpha-unknown-freebsd) compiled by GNU C version 2.95.3 20010315 
(release) [FreeBSD].
GNU CPP version 2.95.3 20010315 (release) [FreeBSD] (FreeBSD/Alpha ELF)
#include "..." search starts here:
#include <...> search starts here:
  ../dist/include
  /usr/tmp/usr/ports/www/mozilla/work/mozilla/dist/include/nspr
  /usr/local/include
  /usr/X11R6/include
  /usr/include
  /usr/include
End of search list.
The following default directories have been omitted from the search path:
  /usr/include/g++
End of omitted list.

=================================

[root@latex config]#/usr/libexec/elf/as -mev4 -o pathsub.o pathsub.as
pathsub.o: No such file or directory
pathsub.as: Assembler messages:
pathsub.as:657: FATAL: Can't write pathsub.o: No such file or directory

=================================

-- 
Matthew Luckie
kluckie@ihug.co.nz


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CD08C95.9040102>