Hi Chris,

Looks like the seL4MultiSharedData template didn't get updated. It's missing a call to `keep_symbol` in the template. See https://github.com/seL4/camkes-tool/blob/next/camkes/templates/seL4SharedData-from.template.c#L32 in the seL4SharedData template. Something similar should be at https://github.com/SEL4PROJ/global-components/blob/next/templates/seL4MultiSharedData-from.template.c#L41 (and on the -to side of the template).

Attached a patch that you should be able to use until fix goes in.

Adrian

On Fri 19-May-2017 11:48 PM, Chris Guikema wrote:

Adrian,

 

I am using a slightly modified version of the CAmkES tool that was started from commit cf42782f99fd7f16b88995aaabfc68c23d9e3122, which should be the newest commit on the master branch.

 

If it helps, I am using the seL4MultisharedData connector.

 

From: Adrian.Danis@data61.csiro.au [mailto:Adrian.Danis@data61.csiro.au]
Sent: Thursday, May 18, 2017 8:26 PM
To: Chris Guikema <Chris.Guikema@dornerworks.com>; devel@sel4.systems
Subject: Re: [seL4] CapDL Spec Error

 

Hi Chris,

Sorry for not replying earlier, but glad you found a solution. Can I ask if you're using a particular version of CAmkES, or the tip of master? We noticed this problem previously on CAmkES a bit after adding that configuration option, but thought we fixed it. So curious if this is from an older version of CAmkES, or if we didn't fix it properly.

Adrian

On Fri 19-May-2017 6:16 AM, Chris Guikema wrote:

I was able to figure out the issue.

 

Having the CONFIG_USER_LINKER_GC_SECTIONS removes a lot of the dead code, however it also removed a lot of code that was actually needed to run the system.

 

Thought I’d post the fix if anyone in the future comes across that issue.

 

Chris Guikema

 

From: Devel [mailto:devel-bounces@sel4.systems] On Behalf Of Chris Guikema
Sent: Wednesday, May 17, 2017 4:38 PM
To: devel@sel4.systems
Subject: [seL4] CapDL Spec Error

 

Hello All,

 

Has anyone come across this error before?

 

[GEN] imx6_net.cdl

While forming CapDL spec: failed to find dataport symbol 'camkes router router_send_buf data' in ELF router_group_bin

make[1]: *** [imx6_net.cdl] Error 255

make[1]: *** Deleting file `imx6_net.cdl'

make: *** [imx6_net] Error 2

 

Thanks,

Chris Guikema




_______________________________________________
Devel mailing list
Devel@sel4.systems
https://sel4.systems/lists/listinfo/devel