[poky] Odd log messages for apps using autotools and __FILE__

Holger Freyther holger at freyther.de
Fri Aug 7 11:26:09 PDT 2015


Hi,

in the Osmocom software and rauc and probably many applications that use __FILE__ in a
log statement the log output is now:

	/home/hfreyther/images/poky/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/rauc/0+gitAUTOINC+d44adb0079-r4/git/src/install.c:811 I will unmount /mnt/rauc/rootfs.0

where it used to be:

	install.c:811 I will unmount /mnt/rauc/rootfs.0


I know I can use __BASE_FILE__ in gcc to get back to install.c but I wonder where this is
coming from? Is this a side-effect of using B!=S? Is there another config that was made to
pass the full path to the compiler?


kind regards

	holger



More information about the poky mailing list