Skip to contentSkip to conversation

Compilation of staging/unstable fails in mini-os.o: In function `xenstore_dom_chmod

DISCUSSION Sander Eikelenboom 4 participants 10 messages Jul 22, 2009 – Jul 23, 2009

lore
Share & tools
lore
#0 lore raw

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to `xs_strings_to_perms'
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to `xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os'
make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom'
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

Signature · 2 lines
Best regards,
 Sander                          mailto:[email protected]
#1 lore raw

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 27 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/li b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os' make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

#2 lore raw

I tried reverting back to c/s 19969 and the problem still persists.

Quoted 46 lines · Keir Fraser

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 6 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib

-L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/li

Quoted 2 lines

b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o

-o

Quoted 2 lines

/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o:

In

Quoted 7 lines

function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os]

Error

Quoted 2 lines

1
make[3]: Leaving directory

`/usr/src/staging/xen-unstable.hg/extras/mini-os'

Quoted 8 lines

make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Mohammad Abdul-Amir (Shamma)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

I meant revert/back-out just c/s 19969, not revert back to that changeset as tip.

-- Keir

Quoted 48 lines · Mohammad Abdul-Amir (Shamma)

I tried reverting back to c/s 19969 and the problem still persists.

Quoted 42 lines · Keir Fraser

If you revert c/s 19969 in xen-unstable, does the problem go away?

 -- Keir

Quoted 18 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/ li
b  -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o  -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os]

Quoted 11 lines

Error
1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os' make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Misunderstood what you meant by revert. Thanks for the fix.

Quoted 71 lines · Keir Fraser

I meant revert/back-out just c/s 19969, not revert back to that changeset as
tip.

-- Keir

Quoted 16 lines · Mohammad Abdul-Amir (Shamma)

I tried reverting back to c/s 19969 and the problem still persists.

Quoted 12 lines · Keir Fraser

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 6 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib

-L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

li
b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o

-o

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os

/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531:

undefined

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

reference to `xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532:

undefined

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

reference to `xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error
1
make[3]: Leaving directory

`/usr/src/staging/xen-unstable.hg/extras/mini-os'

Quoted 11 lines
Quoted 11 lines
Quoted 8 lines

make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

Quoted 6 lines
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Mohammad Abdul-Amir (Shamma)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Keir Fraser

Hello Keir,

Reverting should work by using:
hg revert -a 19969

Or are any other commands necessary ?

-- Sander

Quoted 33 lines · you

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 27 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/li b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os' make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

Signature · 2 lines
Best regards,
 Sander                            mailto:[email protected]
#6 lore raw

I generally do 'hg export 19969 | patch -Rp1' and then 'hg diff | patch -Rp1' to put the tree back as it was. My expectation is that something in the qemu tree has broken stubdom build, so reverting to an earlier qemu tag would fix that.

-- Keir

Quoted 51 lines · Sander Eikelenboom

Hello Keir,

Reverting should work by using:
hg revert -a 19969

Or are any other commands necessary ?

-- Sander

Quoted 35 lines · you

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 29 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/ li
b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error
1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os' make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

#7 lore raw

Hello Keir,

ha hmm not exactly something i would have come up with .. good to know for the next time.
I saw you allready reverted the commit, and it does compile now.

Thx !

Sander

Quoted 60 lines · you

I generally do 'hg export 19969 | patch -Rp1' and then 'hg diff | patch -Rp1' to put the tree back as it was. My expectation is that something in the qemu tree has broken stubdom build, so reverting to an earlier qemu tag would fix that.

-- Keir

Quoted 51 lines · Sander Eikelenboom

Hello Keir,

Reverting should work by using:
hg revert -a 19969

Or are any other commands necessary ?

-- Sander

Quoted 35 lines · you

If you revert c/s 19969 in xen-unstable, does the problem go away?

-- Keir

Quoted 29 lines · Sander Eikelenboom

Hi,
Trying to build staging/xen-unstable results in:

.o
ld -nostdlib -L/usr/src/staging/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/ li
b -m elf_x86_64 -T arch/x86/minios-x86_64.lds /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod':
/usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to xs_strings_to_perms' /usr/src/staging/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to xs_set_permissions'
make[3]: *** [/usr/src/staging/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error
1
make[3]: Leaving directory `/usr/src/staging/xen-unstable.hg/extras/mini-os' make[2]: *** [ioemu-stubdom] Error 2
make[2]: Leaving directory `/usr/src/staging/xen-unstable.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/usr/src/staging/xen-unstable.hg'
make: *** [world] Error 2

Signature · 2 lines
Best regards,
 Sander                            mailto:[email protected]
#8 lore raw
In reply to Keir Fraser
Quoted 2 lines · Keir Fraser

If you revert c/s 19969 in xen-unstable, does the problem go away?

The CS that is causing problems is

ad202d4194eab87d3645f13e7726a4d609e42fe8

on qemu-xen.

#9 lore raw
Quoted 9 lines · Stefano Stabellini
Quoted 2 lines · Keir Fraser

If you revert c/s 19969 in xen-unstable, does the problem go away?

The CS that is causing problems is

ad202d4194eab87d3645f13e7726a4d609e42fe8

on qemu-xen.

Yes, I reverted QEMU_TAG in xen-unstable for now.

-- Keir