[PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files
Alfred Perlstein
bright at mu.org
Mon Dec 24 04:39:35 UTC 2012
On 12/23/12 8:36 PM, Mark Johnston wrote:
>
>
> On Dec 23, 2012 10:55 PM, "Alfred Perlstein" <bright at mu.org
> <mailto:bright at mu.org>> wrote:
> >
> > On 12/23/12 7:20 PM, Garrett Cooper wrote:
> >>
> >> On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein <bright at mu.org
> <mailto:bright at mu.org>> wrote:
> >>
> >> ...
> >> lfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So:
> >> invalid SHT_GROUP entry
> >> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld:
> __vdso_gettimeofday.So: no
> >> group info for section .text.__vdso_gettimeofday
> >> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld:
> __vdso_gettimeofday.So: no
> >> group info for section .text.__vdso_clock_gettime
> >> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld:
> __vdso_gettimeofday.So:
> >> unknown [0] section `' in group [__vdso_gettimeofday]
> >> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld:
> __vdso_gettimeofday.So:
> >> unknown [0] section `' in group [__vdso_clock_gettime]
> >> __vdso_gettimeofday.So: file not recognized: File format not recognized
> >> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> >> *** [libc.so.7.full] Error code 1
> >> 1 error
> >> *** [lib/libc__L] Error code 2
> >> 1 error
> >> *** [libraries] Error code 2
> >> 1 error
> >> *** [_libraries] Error code 2
> >> 1 error
> >> *** [buildworld] Error code 2
> >> 1 error
> >> Is RANLIB not being called properly (for lack of a better example:
> >> https://forums.oracle.com/forums/thread.jspa?messageID=8438118 )?
> >> Cheers,
> >> -Garrett
> >>
> > I had "WITH_CTF=yes" in my /etc/make.conf so this appears to be
> fallout of WITH_CTF=yes. Basically this seems incompatible with
> dtrace unless I figure it out further.
>
> I have WITH_CTF=YES in src.conf and I've been able to complete a
> buildworld+installworld with an extension of this patch. The errors
> are also occurring
> before objcopy has done anything, so I don't see why they might be
> related.
>
care to post the patch? I rm-rf'd all of /usr/obj and tried twice
before removing WITH_CTF to get through it.
-Alfred
More information about the freebsd-hackers
mailing list