Compile/link errors with glibmm-2.4 build using jhbuild

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compile/link errors with glibmm-2.4 build using jhbuild

Daniel Boles
Before, I was getting a missing symbol at runtime for this:

Gio::ActionMap::add_action(Glib::ustring const&, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&)

Either way, after rebuild, I'm now unable even to compile, due to undefined references to various destructors for different kinds of RefPtr <Application> and <TreeModel>

Given that the types in question are gtkmm ones, I rebuilt that too, but it doesn't seem to have helped.

Do these point at any obvious problems with what I've done? I've not seen this before.


Thanks!

_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compile/link errors with glibmm-2.4 build using jhbuild

Daniel Boles
Hm, the undefined references do not occur when building without LTO.

I'm using g++. I wonder if this might be a bug with the compiler/linker itself somehow. Though I don't think any relevant packages have been updated recently, so it seems unlikely.


_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compile/link errors with glibmm-2.4 build using jhbuild

Kjell Ahlstedt-2
In reply to this post by Daniel Boles
Den 2017-05-31 kl. 21:57, skrev Daniel Boles:
Before, I was getting a missing symbol at runtime for this:

Gio::ActionMap::add_action(Glib::ustring const&, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&)

Either way, after rebuild, I'm now unable even to compile, due to undefined references to various destructors for different kinds of RefPtr <Application> and <TreeModel>

Given that the types in question are gtkmm ones, I rebuilt that too, but it doesn't seem to have helped.

Do these point at any obvious problems with what I've done? I've not seen this before.


Thanks!

I pulled your latest patches from the glibmm-2-52 branch and built it successfully with g++.

There is both Gio::Application in glibmm and and Gtk::Application in gtkmm, but there is only Gtk::TreeModel. Glibmm does not depend on gtkmm. If you've got references to gtkmm stuff from glibmm, there is a local bug in your installation of glibmm.


_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compile/link errors with glibmm-2.4 build using jhbuild

Daniel Boles

On 1 June 2017 at 10:59, Kjell Ahlstedt <[hidden email]> wrote:
I pulled your latest patches from the glibmm-2-52 branch and built it successfully with g++.

There is both Gio::Application in glibmm and and Gtk::Application in gtkmm, but there is only Gtk::TreeModel. Glibmm does not depend on gtkmm. If you've got references to gtkmm stuff from glibmm, there is a local bug in your installation of glibmm.


I should have been clear: The mm libraries themselves build fine. The problem is when building my application, which links against both glibmm and gtkmm. The classes for which LTO seems to lose the destructors are both in the Gtk:: namespace.


_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Loading...