Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 16:11:21 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-current@FreeBSD.org, freebsd-ia64@FreeBSD.org
Subject:   Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem'
Message-ID:  <20100624151121.GA29609@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <86tyos8u57.fsf@ds4.des.no>
References:  <8639wgfnrk.fsf@ds4.des.no> <20100621150445.GA50194@mech-cluster241.men.bris.ac.uk> <754D875E-48AB-423D-B309-9415EA2867E4@mac.com> <20100623130534.GA69821@mech-cluster241.men.bris.ac.uk> <86d3vhomot.fsf@ds4.des.no> <20100624083635.GB9272@mech-cluster241.men.bris.ac.uk> <86vd98aj7p.fsf@ds4.des.no> <8639wcafhn.fsf@ds4.des.no> <20100624110511.GD10082@mech-cluster241.men.bris.ac.uk> <86tyos8u57.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 24, 2010 at 02:58:12PM +0200, Dag-Erling Smørgrav wrote:
> Anton Shterenlikht <mexas@bristol.ac.uk> writes:
> > *startfile_prefix_spec:
> > /usr/obj/usr/src/tmp/usr/lib/
> 
> OK
> 
> % cd /usr/src
> % make buildenv
> % cd rescue/rescue
> % make
> 
> I expect this to produce the same error as before; if not, there is
> something seriously wrong.

the error is different...

echo fsck_ffs: /usr/lib/libc.a /usr/lib/libufs.a >> .depend
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c dir.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c ea.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c fsutil.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c inode.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c main.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass1.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass1b.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass2.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass3.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass4.c
cc -O1  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass5.c
cc1: warnings being treated as errors
pass5.c: In function 'pass5':
pass5.c:263: warning: implicit declaration of function 'ffs_fragacct'
*** Error code 1

Stop in /usr/src/sbin/fsck_ffs.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1



In case it matters, I currently have

CFLAGS= -O1
COPTFLAGS= -O1

in /etc/make.conf

But I tried commenting these options out - same result:

cc -O2 -pipe  -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c pass5.c
cc1: warnings being treated as errors
pass5.c: In function 'pass5':
pass5.c:263: warning: implicit declaration of function 'ffs_fragacct'
*** Error code 1

> 
> Now copy the last command make tried to run (cc -static ...), add -v
> before -static (cc -v -static ...) and run it.


I guess this is no longer relevant since I get a different
error now?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



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