* [uml-devel] UML compile fix
@ 2004-09-04 7:55 Jan Kara
2004-09-10 3:55 ` Jeff Dike
0 siblings, 1 reply; 8+ messages in thread
From: Jan Kara @ 2004-09-04 7:55 UTC (permalink / raw)
To: user-mode-linux-devel
Hello,
I need attached patch for UML in 2.6.8.1 with UML patch to compile.
Honza
Signed-off-by: Jan Kara <jack@suse.cz>
--- linux/arch/um/Makefile.orig 2004-09-03 11:52:44.000000000 +0200
+++ linux/arch/um/Makefile 2004-09-03 11:52:47.000000000 +0200
@@ -15,6 +15,7 @@
ifeq ($(CONFIG_DEBUG_INFO),y)
CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS))
+HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
endif
core-y += $(ARCH_DIR)/kernel/ \
--- linux/arch/um/kernel/ksyms.c.orig 2004-09-03 11:50:13.000000000 +0200
+++ linux/arch/um/kernel/ksyms.c 2004-09-03 11:54:35.000000000 +0200
@@ -87,7 +87,6 @@
EXPORT_SYMBOL(os_create_unix_socket);
EXPORT_SYMBOL(os_connect_socket);
EXPORT_SYMBOL(os_accept_connection);
-EXPORT_SYMBOL(os_ioctl_generic);
EXPORT_SYMBOL(os_rcv_fd);
EXPORT_SYMBOL(run_helper);
EXPORT_SYMBOL(start_thread);
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-04 7:55 [uml-devel] UML compile fix Jan Kara
@ 2004-09-10 3:55 ` Jeff Dike
2004-09-10 17:29 ` BlaisorBlade
2004-09-11 20:57 ` Jan Kara
0 siblings, 2 replies; 8+ messages in thread
From: Jeff Dike @ 2004-09-10 3:55 UTC (permalink / raw)
To: Jan Kara; +Cc: user-mode-linux-devel
jack@suse.cz said:
> +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
What does this fix?
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-10 3:55 ` Jeff Dike
@ 2004-09-10 17:29 ` BlaisorBlade
2004-09-11 20:59 ` Jan Kara
2004-09-11 20:57 ` Jan Kara
1 sibling, 1 reply; 8+ messages in thread
From: BlaisorBlade @ 2004-09-10 17:29 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jeff Dike, Jan Kara
On Friday 10 September 2004 05:55, Jeff Dike wrote:
> jack@suse.cz said:
> > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
>
> What does this fix?
>
> Jeff
It's used for host programs. Actually, however, that line is useless, IMHO.
Nobody else needed it. Jan, can you test not using that line (and using just
the EXPORT_SYMBOL removal) and report the errors you get, if any, or a
success?
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-10 17:29 ` BlaisorBlade
@ 2004-09-11 20:59 ` Jan Kara
2004-09-12 17:23 ` BlaisorBlade
0 siblings, 1 reply; 8+ messages in thread
From: Jan Kara @ 2004-09-11 20:59 UTC (permalink / raw)
To: BlaisorBlade; +Cc: user-mode-linux-devel, Jeff Dike
> On Friday 10 September 2004 05:55, Jeff Dike wrote:
> > jack@suse.cz said:
> > > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
> >
> > What does this fix?
> >
> > Jeff
> It's used for host programs. Actually, however, that line is useless, IMHO.
> Nobody else needed it. Jan, can you test not using that line (and using just
> the EXPORT_SYMBOL removal) and report the errors you get, if any, or a
> success?
What does exactly mean "EXPORT_SYMBOL removal"?
Thanks for help
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-11 20:59 ` Jan Kara
@ 2004-09-12 17:23 ` BlaisorBlade
0 siblings, 0 replies; 8+ messages in thread
From: BlaisorBlade @ 2004-09-12 17:23 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jan Kara, Jeff Dike
On Saturday 11 September 2004 22:59, Jan Kara wrote:
> > On Friday 10 September 2004 05:55, Jeff Dike wrote:
> > > jack@suse.cz said:
> > > > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
> > >
> > > What does this fix?
> > >
> > > Jeff
> >
> > It's used for host programs. Actually, however, that line is useless,
> > IMHO. Nobody else needed it. Jan, can you test not using that line (and
> > using just the EXPORT_SYMBOL removal) and report the errors you get, if
> > any, or a success?
>
> What does exactly mean "EXPORT_SYMBOL removal"?
>
> Thanks for help
> Honza
Ok, to be clearer: the removal of EXPORT_SYMBOL(os_ioctl_generic); to be still
clearer: this patch part:
-EXPORT_SYMBOL(os_ioctl_generic);
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-10 3:55 ` Jeff Dike
2004-09-10 17:29 ` BlaisorBlade
@ 2004-09-11 20:57 ` Jan Kara
2004-09-12 17:32 ` BlaisorBlade
1 sibling, 1 reply; 8+ messages in thread
From: Jan Kara @ 2004-09-11 20:57 UTC (permalink / raw)
To: Jeff Dike; +Cc: Jan Kara, user-mode-linux-devel
> jack@suse.cz said:
> > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
>
> What does this fix?
I got errors that "omit-frame-pointer" and debugging flags exclude
each other.
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-11 20:57 ` Jan Kara
@ 2004-09-12 17:32 ` BlaisorBlade
2004-09-13 9:13 ` Jan Kara
0 siblings, 1 reply; 8+ messages in thread
From: BlaisorBlade @ 2004-09-12 17:32 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jan Kara, Jeff Dike
On Saturday 11 September 2004 22:57, Jan Kara wrote:
> > jack@suse.cz said:
> > > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
> >
> > What does this fix?
>
> I got errors that "omit-frame-pointer" and debugging flags exclude
> each other.
Well, that is wrong for two reasons:
1) if the host programs are compiled with debugging symbols, something went
wrong
2) The UML kernel has always been compiled with both -fomit-frame-pointer and
-g. Obviously this with GCC (but what compiler did you use? And which
version?)
Try to re-get the exact error message and send it us. Compile preferably with
"make ARCH=um V=1": the V=1 will ensure that the compiler command line is
shown.
Bye
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] UML compile fix
2004-09-12 17:32 ` BlaisorBlade
@ 2004-09-13 9:13 ` Jan Kara
0 siblings, 0 replies; 8+ messages in thread
From: Jan Kara @ 2004-09-13 9:13 UTC (permalink / raw)
To: BlaisorBlade; +Cc: user-mode-linux-devel, Jeff Dike
> On Saturday 11 September 2004 22:57, Jan Kara wrote:
> > > jack@suse.cz said:
> > > > +HOSTCFLAGS := $(subst -fomit-frame-pointer,,$(HOSTCFLAGS))
> > >
> > > What does this fix?
> >
> > I got errors that "omit-frame-pointer" and debugging flags exclude
> > each other.
> Well, that is wrong for two reasons:
>
> 1) if the host programs are compiled with debugging symbols, something went
> wrong
>
> 2) The UML kernel has always been compiled with both -fomit-frame-pointer and
> -g. Obviously this with GCC (but what compiler did you use? And which
> version?)
>
> Try to re-get the exact error message and send it us. Compile preferably with
> "make ARCH=um V=1": the V=1 will ensure that the compiler command line is
> shown.
OK. I retried on a different host and the problems with compiler flags
went away so it was probably either my mistake or just somehow broken
instalation.. Sadly I don't have access to that system anymore - it was
just a borrowed notebook and I had to return it. Thank you very much for
help.
Honza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-09-13 9:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-04 7:55 [uml-devel] UML compile fix Jan Kara
2004-09-10 3:55 ` Jeff Dike
2004-09-10 17:29 ` BlaisorBlade
2004-09-11 20:59 ` Jan Kara
2004-09-12 17:23 ` BlaisorBlade
2004-09-11 20:57 ` Jan Kara
2004-09-12 17:32 ` BlaisorBlade
2004-09-13 9:13 ` Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox