Re: [gtk-vnc-devel] [patch] Use export-symbols-regex to fix ld problem on solaris



Halton Huo wrote:
Anthony,

Is --version-script is a standard option for ld? Checked with ubuntu,
seems does not accept this option also.

gtest yonex:~$ ld --version-script
ld: unrecognized option '--version-script'
ld: use the --help option for usage information

That's b/c --version-script has to take an option. If you do ld --version-script= you'll get the right output.

Regards,

Anthony Liguori

Halton.
On Thu, 2008-04-10 at 23:09 -0500, Anthony Liguori wrote:
Halton Huo wrote:
Hi,

With this patch, gtk-vnc trunk code can build on Solaris. Main reason is
--version-script is not supported with solaris ld. Use
export-symbols-regex will fix this bug. Refer to bug
http://bugzilla.gnome.org/show_bug.cgi?id=503359 for details.
We can't unconditionally eliminate the sym versions file just because it doesn't work on Solaris. The proper solution would be to detect support for it in configure and then conditionally add the proper LDFLAG.

I can try to rework this patch if it is necessary.

Regards,

Anthony Liguori

Can I commit? My sourceforge id is 'nonsea'.

Thanks,
Halton.


------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
------------------------------------------------------------------------

_______________________________________________
Gtk-vnc-devel mailing list
Gtk-vnc-devel lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gtk-vnc-devel mailing list
Gtk-vnc-devel lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]