[ https://issues.apache.org/jira/browse/STDCXX-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585385#action_12585385 ] Martin Sebor commented on STDCXX-799: ------------------------------------- Need to benchmark the difference between the {{__builtin_xxx()}} intrinsics and the "ordinary" functions that the compiler also treats as intrinsics but generates different code for, as pointed out in the discussion [thread|http://www.mail-archive.com/dev@stdcxx.apache.org/msg00451.html] above. > [Intel C++ 10.0/Linux] error in rw/_traits.h on __builtin_memmove > ----------------------------------------------------------------- > > Key: STDCXX-799 > URL: https://issues.apache.org/jira/browse/STDCXX-799 > Project: C++ Standard Library > Issue Type: Bug > Affects Versions: trunk > Environment: Intel C++ 10.0/Linux, gcc 4.1 as the back end > Reporter: Martin Sebor > Assignee: Farid Zaripov > Priority: Blocker > Fix For: 4.2.1 > > Original Estimate: 1h > Time Spent: 2h > Remaining Estimate: 2h > > The error below shows up in logs for our optimized (not debug) nightly builds with Intel C++ 10.0 on Linux with gcc 4.1 for the back end: > {noformat} > ### gmake -Cbuild/lib BUILDMODE=pthreads,shared,optimized,wide CONFIG=icc.config 2>&1 | sed -e "s/\/build2\/batman\/5.0.0\/builds\/34590289\/source-buildspace\/build/\$(BUILDDIR)/g;s/\/build2\/batman\/5.0.0\/builds\/34590289\/source-buildspace/\$(TOPDIR)/g" | tee /tmp/build.19074.log: > gmake: Entering directory `$(BUILDDIR)/lib' > ... > icc -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -cxxlib-nostd -O2 -w1 -fpic $(TOPDIR)/src/bitset.cpp > $(TOPDIR)/include/rw/_traits.h(439): error: identifier "__builtin_memmove" is undefined > _RWSTD_MEMMOVE (__s1, __s2, __n); > ^ > compilation aborted for $(TOPDIR)/src/bitset.cpp (code 2) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.