Hello Everyone,
I hope this isn't too obvious, but I am trying to build "sculpt-20.08", and have run into a problem. I was able to work around the outdated external "curl" library, but I am stuck on a linker problem.
After outputting:
MERGE rump_tools.lib.a
it generates a lot of messages along the lines of:
/usr/bin/ld: /home/mainuser/Devel/genode_main/genode/depot/genodelabs/bin/x86_64/rump/2020-09-16.build/var/libcache/rump_tools/lex.yy.o:(.bss+0x240): multiple definition of `locators'; /home/mainuser/Devel/genode_main/genode/depot/genodelabs/bin/x86_64/rump/2020-09-16.build/var/libcache/rump_tools/files.o:(.bss+0x210): first defined here
Then it ends with:
collect2: error: ld returned 1 exit status
make[6]: *** [/home/mainuser/Devel/genode_main/genode/depot/genodelabs/src/rump/2020-09-16/lib/mk/rump_tools.mk:88: /home/mainuser/Devel/genode_main/genode/depot/genodelabs/bin/x86_64/rump/2020-09-16.build/var/libcache/rump_tools/bin/nbconfig] Error 1
make[5]: *** [var/libdeps:75: rump_tools.lib] Error 2
make[4]: *** [Makefile:296: gen_deps_and_build_targets] Error 2
make[3]: *** [/home/mainuser/Devel/genode_main/genode/tool/depot/mk/build_bin_archive:200: /home/mainuser/Devel/genode_main/genode/depot/genodelabs/bin/x86_64/rump/2020-09-16.build/bin] Error 1
make[2]: *** [/home/mainuser/Devel/genode_main/genode/depot/var/build.mk:300: genodelabs/bin/x86_64/rump/2020-09-16] Error 2
make[1]: *** [/home/mainuser/Devel/genode_main/genode/tool/depot/build:134: execute_generated_build_mk_file] Error 2
make: *** [/home/mainuser/Devel/genode_main/genode/tool/depot/create:59: build] Error 2
I've seen better error messages than "Error 1" and "Error 2" in my day. :^) Are those "multiple definition of" messages errors or warnings?
Does anyone else have any ideas on this? (I have the complete output, if it's helpful.)
Thanks!
Hi John,
On 1/25/21 6:10 AM, John J. Karcher wrote:
Hello Everyone,
I hope this isn't too obvious, but I am trying to build "sculpt-20.08", and have run into a problem. I was able to work around the outdated external "curl" library, but I am stuck on a linker problem.
this sounds like the '-fcommon' issue [1] we had with newer host tool chains lately.
Can check if commit [2] is working for you?
[1] https://github.com/genodelabs/genode/issues/3960 [2] https://github.com/genodelabs/genode/commit/e3ea3191afbd3596dc1b5edb903d735f...
Regards,
Sebastian
On 1/25/21 10:51 AM, Sebastian Sumpf wrote:
Hi John,
On 1/25/21 6:10 AM, John J. Karcher wrote:
Hello Everyone,
I hope this isn't too obvious, but I am trying to build "sculpt-20.08", and have run into a problem. I was able to work around the outdated external "curl" library, but I am stuck on a linker problem.
this sounds like the '-fcommon' issue [1] we had with newer host tool chains lately.
Can check if commit [2] is working for you?
[1] https://github.com/genodelabs/genode/issues/3960 [2] https://github.com/genodelabs/genode/commit/e3ea3191afbd3596dc1b5edb903d735f...
Thanks for the quick reply!
I think you're on the right track about the newer tool chain. Unfortunately that commit doesn't seem to have any effect. (This makes me wonder if I'm doing something wrong.)
"20.11" and "master" build fine, so we know there is a solution in there somewhere. :^)
I think I will try the Docker container next.
Thanks!
John J. Karcher devuser@alternateapproach.com