Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 777582

Summary: dev-lisp/sbcl-1.4.9: multiple definition of `os_vm_page_size'
Product: Gentoo Linux Reporter: M Sirabella <marco>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, rketler, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=762979
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge =dev-lisp/sbcl-1.4.9
emerge --info
https://github.com/sbcl/sbcl/commit/1131662acacdb0fb5073940957f20a74c19ac391.patch with slight modifications

Description M Sirabella 2021-03-21 20:08:10 UTC
Created attachment 692814 [details]
emerge =dev-lisp/sbcl-1.4.9

Ran into this while trying to update to =dev-lisp/uiop-3.3.2

Looks like both `linux-os.o` & `x86-64-linux-os.o` contain the symbol "os_vm_page_size"
Comment 1 M Sirabella 2021-03-21 20:09:43 UTC
Created attachment 692817 [details]
emerge --info
Comment 2 M Sirabella 2021-03-26 00:22:01 UTC
Related: bug 706314

Seems to be fixed in new versions of sbcl. Is a patch needed to backport it?
Comment 3 M Sirabella 2021-03-26 05:04:21 UTC
Also, contrary to bug 726724 this is *not* fixed on the latest unmasked version of sbcl, sbcl-1.4.9
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-25 08:25:06 UTC
(In reply to Marco Sirabella from comment #4)
> Created attachment 694497 [details, diff] [details, diff]
> https://github.com/sbcl/sbcl/commit/1131662acacdb0fb5073940957f20a74c19ac391.
> patch with slight modifications

Which version is this adapted to? Doesn't apply to 1.4.9.
Comment 6 Larry the Git Cow gentoo-dev 2021-04-25 12:32:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbf54f2d905f2eb254be626925ddd85112491f8

commit 9fbf54f2d905f2eb254be626925ddd85112491f8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-25 12:18:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-25 12:19:40 +0000

    dev-lisp/sbcl: fix build with gcc 10
    
    Closes: https://bugs.gentoo.org/777582
    Closes: https://bugs.gentoo.org/762979
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch | 13 +++++++++++++
 dev-lisp/sbcl/sbcl-1.4.9.ebuild             |  3 +++
 2 files changed, 16 insertions(+)