ubuntu_kvm_unit_tests failed to build on Groovy / Hirsute (multiple definition of jmpbuf in lib/libcflat.a)

Bug #1900646 reported by Po-Hsu Lin
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

Issue found on 5.8.0-25-generic and AWS 5.8.0-1010.10

Test failed to build with:
    /usr/bin/ld: lib/libcflat.a(usermode.o):/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/lib/x86/usermode.c:17: multiple definition of `jmpbuf'; lib/libcflat.a(fault_test.o):/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/lib/x86/fault_test.c:3: first defined here
    collect2: error: ld returned 1 exit status

Please find attachment for the complete build log.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: 5.8 aws groovy kqa-blocker ubuntu-kvm-unit-tests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Compilation works with the latest upstream code with head cde27d4ceba2a1 ("runtime: SKIP if required sysfs file is missing")

description: updated
tags: added: sru-20201109
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Failed to build on Hirsute as well.

tags: added: hirsute
summary: - ubuntu_kvm_unit_tests failed to build on Groovy
+ ubuntu_kvm_unit_tests failed to build on Groovy / Hirsute
tags: added: gcp sru-20201130
tags: added: sru-20210104
Revision history for this message
Francis Ginther (fginther) wrote : Re: ubuntu_kvm_unit_tests failed to build on Groovy / Hirsute

Seen with linux-kvm 5.8.0-1019.21.

tags: added: sru-20210125
tags: added: sru-20210412
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Also Groovy/oracle 5.8.0-1027.28

tags: added: oracle
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed with G/kvm 5.8.0-1026.28

tags: added: kvm
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed with G/kvm for cycle sru-20210510 .

tags: added: linux-kvm sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

This seems to be the fix: https://patchwork<email address hidden>/

Revision history for this message
Ian May (ian-may) wrote :

groovy/linux-aws: 5.8.0-1034.36

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed with H/kvm for cycle sru-20210510 .

summary: - ubuntu_kvm_unit_tests failed to build on Groovy / Hirsute
+ ubuntu_kvm_unit_tests failed to build on Groovy / Hirsute (multiple
+ definition of jmpbuf in lib/libcflat.a)
tags: added: 5.11
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/azure 5.8.0-1033.35

tags: added: azure
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

The disco branch misses commit 1b7bcc0b90660447a8ab659c9d1be8f288dce686 (x86: fix build with GCC10). Optionally disco branch can be rebased on current master.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

I have already rebase it on the new hirsute branch.
Upstreaming some other fixes.
Thanks

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

To be more precise.
This will be covered in https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1930873
with branch https://kernel.ubuntu.com/git/ubuntu/kvm-unit-tests/?h=hirsute-WIP

Please feel free to comment!

tags: added: sru-20210531
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/azure 5.8.0-1034.36

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/oracle 5.8.0-1032.33

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/aws 5.8.0-1036.38

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on groovy/azure 5.8.0-1038.40

tags: added: sru-20210621
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed with G/Oracle for cycle sru-20210621 .

Marcelo Cerri (mhcerri)
tags: added: 20210621 sru-
Po-Hsu Lin (cypressyew)
tags: removed: 20210621
tags: removed: sru-
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.