On 04/24/13 06:58 PM, Keith Packard wrote:
Alan Coopersmith <alan.coopersmith@oracle.com> writes:This broke my build: Undefined first referenced symbol in file c2p_unsupported ../../../miext/shadow/.libs/libshadow.a(shafb4.o)Builds fine with GCC; perhaps that figures out that this function can never be called?
If I build with gcc 4.7.2 with -O2 it indeed optimizes it out. If I build with gcc 4.7.2 with -g and no -O flags, it fails the same way. -- -Alan Coopersmith- alan.coopersmith@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc