Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
string3.h - unimplemented: inlining failed - building NSD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Sun Mar 06, 2011 3:09 pm    Post subject: string3.h - unimplemented: inlining failed - building NSD Reply with quote

I have an ebuild for building the authoritative name server NSD from svn - available here:
http://realcomputerguy.com/files/nsd-9999.tar.bz2
if you care to examine, use, or test it.

I've been using it for quite some time, with few changes. All of sudden I cannot build NSD on my two systems that are most up-to-date, one is ~x86, the other is ~amd64.
The errors are basically identical:
Code:
radtree.c: In function ‘radix_delete’:
/usr/include/bits/string3.h:49:1: sorry, unimplemented: inlining failed in call to ‘memcpy’: redefined extern inline functions are not considered for inlining
radtree.c:622:8: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56:1: sorry, unimplemented: inlining failed in call to ‘memmove’: redefined extern inline functions are not considered for inlining
radtree.c:626:9: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56:1: sorry, unimplemented: inlining failed in call to ‘memmove’: redefined extern inline functions are not considered for inlining
radtree.c:671:9: sorry, unimplemented: called from here
make: *** [whole] Error 1


There were no major toolchain updates (or any others that seem significant) in between the time I last built it successfully and now. And reverting to the last svn version that built successfully does not resolve the issue. On several other systems that are more downlevel the ebuild and latest trunk (revision 3206 @ the time of this writing) work fine.

Systems that stopped working are running:
Code:
gcc-4.5.2, glibc-2.13-r1

Systems that are still working are running:
Code:
gcc-4.4.3, glibc-2.11.1


Any ideas?

Thanks,

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Mon Mar 07, 2011 2:54 am    Post subject: Reply with quote

Hmm... if I add -fno-inline to the CFLAGS it compiles... strange...
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
powderedtoastdude
n00b
n00b


Joined: 09 Jan 2005
Posts: 28

PostPosted: Fri Nov 11, 2011 4:00 pm    Post subject: Reply with quote

Just posting in case someone comes across this thread looking for a stable ebuild. I've made a very simple ebuild for the latest released version of nsd (3.2.8) and you can find it here.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Fri Nov 11, 2011 4:35 pm    Post subject: Reply with quote

There's one in an overlay as well. I'm using the SVN version with this ebuild:
http://realcomputerguy.com/files/nsd-3.9999.tar.bz2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum