[NILFS users] __udivdi3

Gergely Gábor elentirmo.gilgalad at gmail.com
Fri Jan 4 12:16:30 JST 2008


On Fri,  4 Jan 2008 10:47:21 +0900 (JST)
amagai at osrg.net wrote:

> Hi,
> 
> Could you try following steps?
> ================
> cd nilfs-2.0.0-testing-8/fs
> edit Makefile, uncomment this line to enable debug option.
> 
> #CONFIG_NILFS_DEBUG=y
> 
> make clean
> make
> 
> egrep -i udivdi *.lst
> ================
> I hope that the egrep shows filename which includes the
> undefined symbols.
> 
To me it looks like the Makefile has some errors, or my make behaves strangely
/*
ggergely at vosztok ~ $ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-linux-gnu
ggergely at vosztok ~ $ 
*/
I think the Makefile error is that make doesn't expand $@ in line 20
/*
  EXTRA_CFLAGS += -g -Wa,-adhlms=$@.lst -fno-omit-frame-pointer
*/
as it flooded me with info. i saved the stderr, and realised this:
/*
{standard input}: Assembler messages:
{standard input}:45564: Warning: can't open .lst: Permission denied
...

although, the uber dirty trick to change the line to 
/*
  CFLAGS += -g -Wa,-adhlms=$@.lst -fno-omit-frame-pointer
*/
did the trick. ;) I recommend examining this error as well, (I'm not a makefile master, it'd take ages for me to find the cause and the fix) but if I see the situation wee for the first glimpse this as well may be some linux kernel makefile related stuff.

ggergely at vosztok ~/tmp/nilfs/nilfs-2.0.0-testing-8/fs $ egrep -i udivdi *.lst
dat.o.lst: 974              	.globl __udivdi3
dat.o.lst: 1245 03cb E8FCFFFF 	call __udivdi3
dat.o.lst:__udivdi3
ggergely at vosztok ~/tmp/nilfs/nilfs-2.0.0-testing-8/fs $ 


> My colleagues (and include me) are used nilfs 2 as /home 
> of developping PC's with onw risk :-)
> Nilfs 2 cannot handle a disk full condition well, 
> so, parameter tuning in /etc/nilfs_cleanerd.conf are very critical.

Thank you, this is good news for me! I hope soon I'll be running nilfs2!

Sorry for the long letter, hope I could help, and I'm waiting for the news.
Best regards: Gábor Gergely
-- 
Gergely Gábor <elentirmo.gilgalad at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.nilfs.org/pipermail/users/attachments/20080104/52ef592c/attachment-0001.pgp>


More information about the users mailing list