From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 19:23:43 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 7B95A10656C0 for ; Tue, 22 Feb 2011 19:23:41 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Tue, 22 Feb 2011 14:23:28 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102221423.30652.jkim@FreeBSD.org> Cc: Subject: binutils 2.17.50 and ctfconvert X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 19:23:43 -0000 Since binutils 2.17.50 import, WITH_CTF=1 & buildworld on amd64 stops like this: ===> lib/librt (all) cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/aio.c cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -pg -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/aio.c -o aio.po ctfconvert -L VERSION aio.po cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/aio.c -o aio.So ctfconvert -L VERSION aio.o cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/mq.c ctfconvert -L VERSION aio.So cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -pg -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/mq.c -o mq.po ctfconvert -L VERSION mq.o cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/mq.c -o mq.So ctfconvert -L VERSION mq.po cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/sigev_thread.c ctfconvert -L VERSION mq.So cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -pg -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/sigev_thread.c -o sigev_thread.po ctfconvert -L VERSION sigev_thread.o cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/sigev_thread.c -o sigev_thread.So ctfconvert -L VERSION sigev_thread.po cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/timer.c ctfconvert -L VERSION timer.o cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -pg -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/timer.c -o timer.po ctfconvert -L VERSION timer.po cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -fno-omit-frame-pointer -I/usr/src/lib/librt/../libc/include -I/usr/src/lib/librt -fexceptions -Winline -Wall -g -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/librt/timer.c -o timer.So ctfconvert -L VERSION sigev_thread.So ctfconvert -L VERSION timer.So building static rt library building profiled rt library ranlib librt_p.a ranlib librt.a building shared library librt.so.1 BFD: aio.So: invalid SHT_GROUP entry BFD: aio.So: invalid SHT_GROUP entry BFD: aio.So: no group info for section .text.__i686.get_pc_thunk.cx BFD: aio.So: no group info for section .text.__i686.get_pc_thunk.bx BFD: aio.So: unknown [0] section `' in group [__i686.get_pc_thunk.cx] BFD: aio.So: unknown [0] section `' in group [__i686.get_pc_thunk.bx] nm: aio.So: File format not recognized BFD: mq.So: invalid SHT_GROUP entry BFD: mq.So: no group info for section .text.__i686.get_pc_thunk.bx BFD: mq.So: unknown [0] section `' in group [__i686.get_pc_thunk.bx] nm: mq.So: File format not recognized BFD: sigev_thread.So: invalid SHT_GROUP entry BFD: sigev_thread.So: no group info for section .text.__i686.get_pc_thunk.bx BFD: sigev_thread.So: unknown [0] section `' in group [__i686.get_pc_thunk.bx] nm: sigev_thread.So: File format not recognized BFD: timer.So: invalid SHT_GROUP entry BFD: timer.So: no group info for section .text.__i686.get_pc_thunk.bx BFD: timer.So: unknown [0] section `' in group [__i686.get_pc_thunk.bx] nm: timer.So: File format not recognized /usr/obj/usr/src/tmp/usr/bin/ld: timer.So: invalid SHT_GROUP entry /usr/obj/usr/src/tmp/usr/bin/ld: timer.So: no group info for section .text.__i686.get_pc_thunk.bx /usr/obj/usr/src/tmp/usr/bin/ld: timer.So: unknown [0] section `' in group [__i686.get_pc_thunk.bx] timer.So: file not recognized: File format not recognized *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Google found NetBSD has a similar looking PR but it is not exactly the same: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=42986 Note I have '-g' and it only happens at build32. 64-bit library was okay. Does anyone know what went wrong? Thanks, Jung-uk Kim