On Wed, Nov 29, 2017 at 12:10:54AM -0600, Jay Shah wrote: > From: Yogesh Prasad <yogesh.prasad@xxxxxxxxxxxxxxxxxxx> > > Description > This patch will correct the sequence of -pie and -shared options. > When used together, -pie should be provided to the linker before > -shared. If -pie is provided after -shared, the linker throws an > error shown below as example. > > ------------------------------------------------------------------------- > /host/lib/gcc/powerpc-buildroot-linux-gnu/6.4.0/../../../.. > /powerpc-buildroot-linux-gnu/bin/ld: BFD (GNU Binutils) 2.28.1 > assertion fail elf32-ppc.c:8923 > collect2: error: ld returned 1 exit status > + ./libxt_SYNPROXY.man > make[4]: *** [libxt_TCPOPTSTRIP.so] Error 1 > + ./libip6t_mh.man > /host/powerpc-buildroot-linux-gnu/sysroot/usr/lib/Scrt1.o:(.data+0x4): > undefined reference to `main' > /host/lib/gcc/powerpc-buildroot-linux-gnu + ./libxt_TCPMSS.man > /6.4.0/../../../../powerpc-buildroot-linux-gnu/bin/ld: > BFD (GNU Binutils) 2.28.1 assertion fail elf32-ppc.c:8923 > collect2: error: ld returned 1 exit status > ------------------------------------------------------------------------- Applied. Out of curiosity: Does it say anywhere that the options need to be in a specific order, eg. documentation. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html