[Rock-dev] Export Symbol Table
Christoph Hertzberg
chtz at informatik.uni-bremen.de
Mon Aug 29 16:10:10 CEST 2016
Debugging a bit into it (and bisecting through the last PRs), it seems that
Rock.update_cmake_build_type_from_tags(pkg)
is called before pkg.tags has been initialized.
Moving that line into a block:
Autoproj.post_import do |pkg|
if pkg.kind_of?(Autobuild::CMake)
Rock.update_cmake_build_type_from_tags(pkg)
end
end
as it was before, solves the issue for me.
I don't know, if the remainder of the `when Autobuild::CMake` block
should be moved there as well.
Cheers,
Christoph
On 2016-08-29 14:29, Christoph Hertzberg wrote:
> Hi!
>
> I'm not sure if this is a problem on our setup, but now all my packages
> are configured as Debug. Previously those which have a needs_opt tag
> (e.g., slam/maps) used to be RelWithDebInfo and with a stable tag (e.g.,
> base/types) used to be configured as Release. If nobody can reproduce
> this, I can attach our manifest, init.rb and/or overrides.rb.
>
> Or were "needs_opt" and "stable" tags never intended to be used that way?
>
> Christoph
>
> On 2016-08-27 01:38, Sylvain Joyeux wrote:
>> You're absolutely right.
>> https://github.com/rock-core/package_set/pull/92 broke it a week ago.
>>
>> https://github.com/rock-core/package_set/pull/98 should fix the problem.
>>
>> Sylvain
>>
>> On Fri, Aug 26, 2016 at 5:46 PM, Rafael Saback <rafaelsaback at gmail.com> wrote:
>>> Hey guys,
>>>
>>>
>>> This week I have updated my rock bootstrap and after that I have been having
>>> trouble with debugging. Basically, rock is not compiling my libraries with
>>> "-g", which exports the symbol table needed by gdb. As far as I could see,
>>> rock is not setting CMAKE_BUILD_TYPE to Debug mode (I've checked in
>>> build/CMakeCache.txt), and because of that CMake is not compiling my code
>>> with "-g". This is happening both to libraries and components.
>>>
>>> I have a aside bootstrap which I haven't updated and doesn't have this
>>> problem. So the culprit is probably some recent change in rock.
>>>
>>> Do you guys have a clue about how to solve this issue?
>>>
>>>
>>> Thank you,
>>>
>>>
>>> --
>>> Rafael Meireles Saback
>>>
>>> _______________________________________________
>>> Rock-dev mailing list
>>> Rock-dev at dfki.de
>>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>
>
--
Dipl. Inf., Dipl. Math. Christoph Hertzberg
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftsstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-4021
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: chtz at informatik.uni-bremen.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list