• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/elfutils/0006-memcpy-def.patch
Vicente Olivert RieraVicente Olivert Riera committed 4038cbf227906 Jan 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Provide a compatibility alias __memcpy
2
​
3
For some reason, libelf uses the internal glibc alias __memcpy, which
4
doesn't exist in uClibc. Add a manual alias so that the build can
5
proceed with uClibc.
6
​
7
Based on the former patch by Thomas Petazzoni.
8
​
9
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11
​
12
diff -rup a/libelf/libelf.h b/libelf/libelf.h
13
--- a/libelf/libelf.h   2014-08-27 10:25:17.000000000 +0100
14
+++ b/libelf/libelf.h   2014-11-07 15:13:08.743508221 +0000
15
@@ -34,6 +34,11 @@
16
 /* Get the ELF types.  */
17
 #include <elf.h>
18
​
19
+#ifndef _LIBC
20
+#ifndef __mempcpy
21
+#define __mempcpy mempcpy
22
+#endif
23
+#endif
24
​
25
 /* Known translation types.  */
26
 typedef enum
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.