[Barrelfish-users] Building newest BF
Simon Peter
speter at inf.ethz.ch
Fri Jun 29 16:43:23 CEST 2012
This is another error that is fixed in the upcoming release. You can fix
it by compiling with -O2 instead of -O3. -O3 will do loop unrolling and
cause multiple inline assembly labels to be generated.
Simon
On 29.06.2012 16:40, Patrik Eklöf wrote:
> Thanks.
> That removed one error, but as soon as that finished, another popped up:
>
> [root at localhost build]# make
> gcc -std=c99 -U__STRICT_ANSI__ -Wstrict-prototypes
> -Wold-style-definition -Wmissing-prototypes -fno-omit-frame-pointer
> -fno-builtin -nostdinc -U__linux__ -Ulinux -Wall -Wshadow
> -Wmissing-declarations -Wmissing-field-initializers -Wredundant-decls
> -Werror -imacros ../source/include/deputy/nodeputy.h -m64 -mno-red-zone
> -fPIE -fno-stack-protector -Wno-unused-but-set-variable
> -Wno-packed-bitfield-compat -DBARRELFISH -DCONFIG_LAZY_THC
> -DCONFIG_NEWLIB -DUSE_KALUGA_DVM -DCONFIG_INTERCONNECT_DRIVER_LMP
> -DCONFIG_INTERCONNECT_DRIVER_UMP -DCONFIG_INTERCONNECT_DRIVER_MULTIHOP
> -DCONFIG_FLOUNDER_BACKEND_LMP -DCONFIG_FLOUNDER_BACKEND_UMP
> -DCONFIG_FLOUNDER_BACKEND_MULTIHOP -g -O3 -I../source/include
> -I../source/include/arch/x86_64
> -I../source/lib/newlib/newlib/libc/include -I../source/include/c
> -I../source/include/target/x86_64 -I../source/include/ipv4
> -I../source/include/posixcompat -I./x86_64/include
> -I./x86_64/include/dev -I../source/usr/tests/thctest
> -I./x86_64/usr/tests/thctest -o
> ./x86_64/usr/tests/thctest/_for_app_thctest/thctest.o -c
> ../source/usr/tests/thctest/thctest.c
> ../source/usr/tests/thctest/thctest.c: Assembler messages:
> ../source/usr/tests/thctest/thctest.c:53: Error: symbol
> `_thc_cont_return_5' is already defined
> ../source/usr/tests/thctest/thctest.c:69: Error: symbol
> `_thc_cont_return_6' is already defined
> ../source/usr/tests/thctest/thctest.c:91: Error: symbol
> `_thc_cont_return_7' is already defined
> ../source/usr/tests/thctest/thctest.c:111: Error: symbol
> `_thc_cont_return_8' is already defined
> make: *** [x86_64/usr/tests/thctest/_for_app_thctest/thctest.o] Error 1
>
> Also, I did test this on a fresh clone of the repo (using rev 923).
> Multiple definition errors... but where do they come from?
>
> Regards,
> Patrik Eklöf
> Student at ICT, Master of Science in Engineering Education, IT
> Programme, KTH, Kista
> ------------------------------------------------------------------------
> *From:* Raphael Fuchs [raphaelfuchs at student.ethz.ch]
> *Sent:* Friday, June 29, 2012 13:30
> *To:* barrelfish-users at lists.inf.ethz.ch
> *Subject:* Re: [Barrelfish-users] Building newest BF
>
> Hi Patrik
>
> We already fixed this bug in our development tree, the fix will be
> included in our next release. Meanwhile, you can apply the attached
> patch yourself, it should solve your problem.
>
> Regards
> Raphael
>
> On 29.06.2012 12:42, Patrik Eklöf wrote:
>> Hi all,
>>
>> I'm having trouble building the newest rev of BF.
>> I've tried the newest as well as the stable 922 rev, but both give the
>> same error.
>>
>> The complete error is:
>> ../source/include/acpi_client/acpi_client.h:19:36: fatal error:
>> if/acpi_rpcclient_defs.h: No such file or directory
>>
>> I've tried downloading the source from scratch, then applying the
>> patch at http://wiki.barrelfish.org/Getting_Started (because otherwise
>> I get the dreaded Hake error), then running the hake script and
>> finally make.
>>
>> I've updated all packages to latest, but still running on the 3.1
>> kernel to see if it would help the issue, but it did not.
>> Any idea what's wrong?
>>
>> Regards,
>> Patrik Eklöf
>> Student at ICT, Master of Science in Engineering Education, IT
>> Programme, KTH, Kista
>>
>>
>> _______________________________________________
>> Barrelfish-users mailing list
>> Barrelfish-users at lists.inf.ethz.ch
>> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
>
>
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
More information about the Barrelfish-users
mailing list