This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weird issue with objcopy --add-gnu-debuglink


Hi,

I'm having a weird issue with objcopy.

Running:
FreeBSD 8-STABLE
binutils git 1160cb53d1f7605d
gcc 4.5.20101028


I run for example:

${OBJCOPY} --only-keep-debug strip strip.dbg
${OBJCOPY} --add-gnu-debuglink=strip.dbg /usr/home/user/dir/binutils/pkg/binutils/usr/local/bin/strip


And get this error:
/usr/local/lib/gcc45/gcc/x86_64-unknown-freebsd8.1/4.5.2/../../../../../x86_64-unknown-freebsd8.1/bin/objcopy:/usr/home/user/dir/binutils/pkg/binutils/usr/local/bin/stAa5Vkh:
cannot create debug link section `strip.dbg': Invalid operation

This error is occurring quite often. Any idea why?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]