Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] lang/gcc47 fails to build with lang/gcc5 #136

Closed
zrj-rimwis opened this issue Feb 13, 2015 · 2 comments
Closed

[patch] lang/gcc47 fails to build with lang/gcc5 #136

zrj-rimwis opened this issue Feb 13, 2015 · 2 comments

Comments

@zrj-rimwis
Copy link

In file included from .././../gcc-4.7.4/gcc/cp/except.c:990:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here

Missing conditional gnu_inline attribute in prototype, and cast to int suggested by gperf.
Simple workaround:
https://drive.google.com/file/d/0BwWNLQDwiOxtYnJSRm1Dam9XTU0/view?usp=sharing

@jrmarino
Copy link
Contributor

jrmarino commented May 6, 2015

patch incorporated, thanks!
a680cc6

@jrmarino jrmarino closed this as completed May 6, 2015
jmccrohan pushed a commit to jmccrohan/openwrt that referenced this issue Jul 14, 2015
build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux

affected versions gcc 4.6, gcc 4.7

reported & fixed in DragonFlyBSD issue #136
DragonFlyBSD/DPorts#136

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
tpetazzoni pushed a commit to buildroot/buildroot that referenced this issue Jul 27, 2015
gcc 4.7 doesn't build with gcc5.

Patch is from DragonFlyBSD github [1]

[1] DragonFlyBSD/DPorts#136

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
rnagy pushed a commit to RedCoolBeans/cargos-buildroot that referenced this issue Jul 28, 2015
gcc 4.7 doesn't build with gcc5.

Patch is from DragonFlyBSD github [1]

[1] DragonFlyBSD/DPorts#136

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
blogic pushed a commit to openwrt/openwrt that referenced this issue Nov 9, 2015
build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux

affected versions gcc 4.6, gcc 4.7

reported & fixed in DragonFlyBSD issue #136
DragonFlyBSD/DPorts#136

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
GravisZro pushed a commit to GravisZro/BA2-toolchain that referenced this issue Mar 18, 2016
phy0292 pushed a commit to phy0292/openwrt that referenced this issue Jan 6, 2017
build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux

affected versions gcc 4.6, gcc 4.7

reported & fixed in DragonFlyBSD issue #136
DragonFlyBSD/DPorts#136

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
@ghost
Copy link

ghost commented Feb 28, 2017

Thank you so much for the content of the patch, but can I get some hint on how to apply the patch to the problem? I am just starting to learn. Thank you!

mhei pushed a commit to Freetz/freetz that referenced this issue May 27, 2017
 * fix build failures when built using gcc-5.x
 * problem analysis and tests by f_666
 * patches from [DragonFlyBSD/DPorts#136 DragonFlyBSD/DPorts#136]
 * refs #2891


git-svn-id: http://svn.freetz.org/trunk@14285 f5190166-0702-4917-9039-51ec32eddaf5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants