Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
inf
Guix
Commits
9aa949a4
Commit
9aa949a4
authored
11 years ago
by
Ludovic Courtès
Browse files
Options
Downloads
Patches
Plain Diff
gnu: libsigsegv: Fix mips64el-linux-gnu (cross-)builds.
* gnu/packages/libsigsegv.scm (libsigsegv): New `arguments' field.
parent
cf9fd501
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/libsigsegv.scm
+17
-0
17 additions, 0 deletions
gnu/packages/libsigsegv.scm
with
17 additions
and
0 deletions
gnu/packages/libsigsegv.scm
+
17
−
0
View file @
9aa949a4
...
...
@@ -36,6 +36,23 @@ (define-public libsigsegv
(
build-system
gnu-build-system
)
(
home-page
"http://www.gnu.org/software/libsigsegv/"
)
(
synopsis
"Library for handling page faults"
)
(
arguments
;; On MIPS, work around this error:
;;
;; In file included from fault-linux-mips-old.h:18:0,
;; [...]
;; linux-libre-headers-cross-mips64el-linux-gnu-3.3.8/include/asm/sigcontext.h:57:8: error: redefinition of 'struct sigcontext'
(
if
(
string-contains
(
or
(
%current-target-system
)
(
%current-system
))
"mips64el"
)
`
(
#
:phases
(
alist-cons-before
'configure
'patch-mips-old-h
(
lambda
_
(
substitute*
"src/fault-linux-mips-old.h"
((
"#include <asm/sigcontext\\.h>"
)
""
)))
,
(
if
(
%current-target-system
)
'%standard-cross-phases
'%standard-phases
)))
'
()))
(
description
"GNU libsigsegv is a library for handling page faults in user mode. A page
fault occurs when a program tries to access to a region of memory that is
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment