Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777582 - dev-lisp/sbcl-1.4.9: multiple definition of `os_vm_page_size'
Summary: dev-lisp/sbcl-1.4.9: multiple definition of `os_vm_page_size'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-03-21 20:08 UTC by Marco Sirabella
Modified: 2021-04-25 12:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge =dev-lisp/sbcl-1.4.9 (build.log,89.82 KB, text/x-log)
2021-03-21 20:08 UTC, Marco Sirabella
Details
emerge --info (emerge.info,20.48 KB, application/x-info)
2021-03-21 20:09 UTC, Marco Sirabella
Details
https://github.com/sbcl/sbcl/commit/1131662acacdb0fb5073940957f20a74c19ac391.patch with slight modifications (1131662acacdb0fb5073940957f20a74c19ac391.patch,8.96 KB, patch)
2021-03-26 18:17 UTC, Marco Sirabella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 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 Marco Sirabella 2021-03-21 20:09:43 UTC
Created attachment 692817 [details]
emerge --info
Comment 2 Marco 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 Marco 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 4 Marco Sirabella 2021-03-26 18:17:23 UTC
Created attachment 694497 [details, diff]
https://github.com/sbcl/sbcl/commit/1131662acacdb0fb5073940957f20a74c19ac391.patch with slight modifications
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(+)