| View previous topic :: View next topic |
| Author |
Message |
Whalehunter n00b


Joined: 17 Oct 2017 Posts: 3 Location: Delft, Netherlands
|
Posted: Thu Jun 14, 2018 12:39 am Post subject: [solved] dev-lisp/sbcl-1.3.21 compile error |
|
|
Hello,
Is this a bug I should report, or is this something I did wrong? I updated and whatnot. Also tried version 1.3.11, but I received the same error.
| Code: |
x86-64-arch.c: In function 'context_eflags_addr':
x86-64-arch.c:141:44: error: dereferencing pointer to incomplete type 'os_context_t {aka struct ucontext}'
return (os_context_register_t*)&context->uc_mcontext.gregs[17];
^~
x86-64-arch.c:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [<builtin>: x86-64-arch.o] Error 1
|
emerge --info '=dev-lisp/sbcl-1.3.21::gentoo'
https://pastebin.com/8RkwhqQj
emerge -pqv '=dev-lisp/sbcl-1.3.21::gentoo'
[ebuild N ] dev-lisp/sbcl-1.3.21 USE="threads unicode zlib -debug -doc -pax_kernel -source"
Build log
https://pastebin.com/SQsppHrr
Thanks in advance for taking a look.
Last edited by Whalehunter on Tue Jun 19, 2018 12:02 pm; edited 1 time in total |
|
| Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31094 Location: here
|
Posted: Thu Jun 14, 2018 6:02 am Post subject: |
|
|
| Code: | x86-64-arch.c: In function 'context_eflags_addr':
x86-64-arch.c:141:44: error: dereferencing pointer to incomplete type 'os_context_t {aka struct ucontext}'
return (os_context_register_t*)&context->uc_mcontext.gregs[17];
^~ |
Probably the problem is caused by glibc-2.26 because struct ucontext doesn't exist anymore.
You tried to unmask newer package version? _________________ Questions are guaranteed in life; Answers aren't. |
|
| Back to top |
|
 |
Whalehunter n00b


Joined: 17 Oct 2017 Posts: 3 Location: Delft, Netherlands
|
Posted: Thu Jun 14, 2018 1:27 pm Post subject: |
|
|
Wow, that was easy... Problem solved, thanks!
Steps I took were:
1. Unmask version (don't know if this was necessary)
2. Added =dev-lisp/sbcl-1.4.7 ~amd64 to package.keywords
No compilation errors.
Thanks for the help, didn't realize it would be this easy  |
|
| Back to top |
|
 |
njsg Tux's lil' helper

Joined: 17 Dec 2005 Posts: 88
|
|
| Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31094 Location: here
|
Posted: Fri Jul 27, 2018 12:00 pm Post subject: |
|
|
Thanks when I posted I got confused and thought that the glib-2.26 were masked. _________________ Questions are guaranteed in life; Answers aren't. |
|
| Back to top |
|
 |
|