mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-04 06:44:48 +00:00
1. Remove PNBLACKLIST[libuio] line, since libuio compiles fine with gcc-5 with this patch. 2. By default, gcc-5 uses C99 inline semantics, this semantics doesn't generate externally visible function for inline functions. This results in below error, when an another translation unit (TU) tries to link with the inline function, -- snip -- | lsuio.o: In function `main': | <...>/libuio/0.2.1-r0/git/tools/lsuio.c:85: undefined reference to `uio_mmap' | collect2: error: ld returned 1 exit status | make[2]: *** [lsuio] Error 1 -- CUT -- To solve this error and make libuio to compile with both 4.x and 5.x, 1. We can remove 'uio_mmap' inline function definition in uio_mmap.c, and move that definition into uio_helper.h file (which is included by lsuio.c) and replace inline with "static inline". Similarly it can be done to uio_single_munmap and uio_munmap inline functions 2. Add 'extern' keyword in front of uio_mmap inline function declaration , to make uio_mmap as a externally visible function, and so that it can be linked with other TUs. Going with option 1. Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This layer depends on:
URI: git://github.com/openembedded/oe-core.git
branch: master
revision: HEAD
Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'
When sending single patches, please use something like:
'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-oe][PATCH'
You are encouraged to fork the mirror on github https://github.com/openembedded/meta-oe/ to share your patches, this is preferred for patch sets consisting of more than one patch. Other services like gitorious, repo.or.cz or self hosted setups are of course accepted as well, 'git fetch <remote>' works the same on all of them. We recommend github because it is free, easy to use, has been proven to be reliable and has a really good web GUI.
Main layer maintainer: Koen Kooi <koen@dominion.thruhere.net>
Martin Jansa <martin.jansa@gmail.com>