Debian Bug report logs - #436332
lcd4linux: FTBFS: undefined reference to `rdtscl'

version graph

Package: lcd4linux; Maintainer for lcd4linux is Reinhard Tartler <siretart@tauware.de>; Source for lcd4linux is src:lcd4linux (PTS, buildd, popcon).

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Mon, 6 Aug 2007 23:00:02 UTC

Severity: serious

Tags: help, upstream

Found in version lcd4linux/0.10.1~rc2-1

Fixed in version lcd4linux/0.10.1~rc2-2

Done: Reinhard Tartler <siretart@tauware.de>

Bug is archived. No further changes may be made.

Forwarded to lcd4linux-devel@lists.sourceforge.net

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Tue, 7 Aug 2007 00:57:06 +0200
Package: lcd4linux
version: 0.10.1~rc2-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20070806 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:
	then mv -f ".deps/plugin_seti.Tpo" ".deps/plugin_seti.Po"; else rm -f ".deps/plugin_seti.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/python2.4 -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2 -MT plugin_statfs.o -MD -MP -MF ".deps/plugin_statfs.Tpo" -c -o plugin_statfs.o plugin_statfs.c; \
	then mv -f ".deps/plugin_statfs.Tpo" ".deps/plugin_statfs.Po"; else rm -f ".deps/plugin_statfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/python2.4 -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2 -MT plugin_uname.o -MD -MP -MF ".deps/plugin_uname.Tpo" -c -o plugin_uname.o plugin_uname.c; \
	then mv -f ".deps/plugin_uname.Tpo" ".deps/plugin_uname.Po"; else rm -f ".deps/plugin_uname.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/python2.4 -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2 -MT plugin_uptime.o -MD -MP -MF ".deps/plugin_uptime.Tpo" -c -o plugin_uptime.o plugin_uptime.c; \
	then mv -f ".deps/plugin_uptime.Tpo" ".deps/plugin_uptime.Po"; else rm -f ".deps/plugin_uptime.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/python2.4 -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2 -MT plugin_wireless.o -MD -MP -MF ".deps/plugin_wireless.Tpo" -c -o plugin_wireless.o plugin_wireless.c; \
	then mv -f ".deps/plugin_wireless.Tpo" ".deps/plugin_wireless.Po"; else rm -f ".deps/plugin_wireless.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/python2.4 -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2 -MT plugin_xmms.o -MD -MP -MF ".deps/plugin_xmms.Tpo" -c -o plugin_xmms.o plugin_xmms.c; \
	then mv -f ".deps/plugin_xmms.Tpo" ".deps/plugin_xmms.Po"; else rm -f ".deps/plugin_xmms.Tpo"; exit 1; fi
gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2   -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_BeckmannEgle.o drv_BWCT.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_G15.o drv_HD44780.o drv_LCD2USB.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_picoLCD.o drv_RouterBoard.o drv_Sample.o drv_SimpleLCD.o drv_T6963.o drv_Trefon.o drv_USBHUB.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mpd.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o  -lncurses -lX11 -lgd -lusb   -lmpd -lmysqlclient -L/usr/lib/python2.4 -lpython2.4  -lpthread -ldl  -lutil -lm 
udelay.o: In function `ndelay':
/build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
/build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'
collect2: ld returned 1 exit status
make[2]: *** [lcd4linux] Error 1
make[2]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
make: *** [build-stamp] Error 2

The full build log is available from
http://people.debian.org/~lucas/logs/2007/08/06

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Information forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #10 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: Lucas Nussbaum <lucas@lucas-nussbaum.net>, 436332@bugs.debian.org
Subject: Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Tue, 7 Aug 2007 02:13:09 +0200
[Message part 1 (text/plain, inline)]
Lucas Nussbaum <lucas@lucas-nussbaum.net> (07/08/2007):
> udelay.o: In function `ndelay':
> /build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
> /build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'

Hi Reinhard,

according to:
| kibi@becky:~/lcd4linux-0.10.1~rc2$ rgrep rdtscl /usr/include 
| /usr/include/asm-x86_64/msr.h:#define rdtscl(low) \
| /usr/include/asm-x86_64/msr.h:#define rdtscll(val) do { \

I guess that you want either check for the presence of asm-x86_64/msr.h
(easy way) or keep on using asm/msr.h and add a code snippet to find out
whether rdtscl() is really available.

Cheers,

-- 
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #15 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@tauware.de>
To: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Cc: 436332@bugs.debian.org
Subject: Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Tue, 07 Aug 2007 10:46:53 +0200
severity 436332 important
stop

Lucas Nussbaum <lucas@lucas-nussbaum.net> writes:

> Package: lcd4linux
> version: 0.10.1~rc2-1
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20070806 qa-ftbfs
> Justification: FTBFS on i386
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on i386.

Ugh,

> Relevant part:
> gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2   -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_BeckmannEgle.o drv_BWCT.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_G15.o drv_HD44780.o drv_LCD2USB.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_picoLCD.o drv_RouterBoard.o drv_Sample.o drv_SimpleLCD.o drv_T6963.o drv_Trefon.o drv_USBHUB.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mpd.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o  -lncurses -lX11 -lgd -lusb   -lmpd -lmysqlclient -L/usr/lib/python2.4 -lpython2.4  -lpthread -ldl  -lutil -lm 
> udelay.o: In function `ndelay':
> /build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
> /build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'
> collect2: ld returned 1 exit status
> make[2]: *** [lcd4linux] Error 1
> make[2]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
> make: *** [build-stamp] Error 2
>
> The full build log is available from
> http://people.debian.org/~lucas/logs/2007/08/06

I took a look at this; here is my analysis:

lcd4linux' configure checks for the presence of /usr/include/asm/msr.h,
which is on your buildd. that file contains on my system this:

#ifndef __ASM_STUB_MSR_H
#define __ASM_STUB_MSR_H
# if defined __x86_64__
#  include <asm-x86_64/msr.h>
# elif defined __i386__
#  include <asm-i386/msr.h>
# else
#  warning This machine appears to be neither x86_64 nor i386.
# endif

I can only conclude that you build defines the macro '__x86_64__'
confuses lcd4linux. Which is of course an important bug, but in no way
release critical, IMO.

Do you run sbuild with 'linux32' prefixed, so that tools like 'uname -m'
don't report x86_64?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



Severity set to `important' from `serious' Request was from Reinhard Tartler <siretart@tauware.de> to control@bugs.debian.org. (Tue, 07 Aug 2007 08:48:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Extra info received and forwarded to list. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #22 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: Reinhard Tartler <siretart@tauware.de>
Cc: 436332@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Wed, 8 Aug 2007 00:15:32 +0200
severity 436332 serious
thanks

On 07/08/07 at 10:46 +0200, Reinhard Tartler wrote:
> severity 436332 important
> stop
> 
> Lucas Nussbaum <lucas@lucas-nussbaum.net> writes:
> 
> > Package: lcd4linux
> > version: 0.10.1~rc2-1
> > Severity: serious
> > User: debian-qa@lists.debian.org
> > Usertags: qa-ftbfs-20070806 qa-ftbfs
> > Justification: FTBFS on i386
> >
> > Hi,
> >
> > During a rebuild of all packages in sid, your package failed to build
> > on i386.
> 
> Ugh,
> 
> > Relevant part:
> > gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2   -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_BeckmannEgle.o drv_BWCT.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_G15.o drv_HD44780.o drv_LCD2USB.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_picoLCD.o drv_RouterBoard.o drv_Sample.o drv_SimpleLCD.o drv_T6963.o drv_Trefon.o drv_USBHUB.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mpd.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o  -lncurses -lX11 -lgd -lusb   -lmpd -lmysqlclient -L/usr/lib/python2.4 -lpython2.4  -lpthread -ldl  -lutil -lm 
> > udelay.o: In function `ndelay':
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'
> > collect2: ld returned 1 exit status
> > make[2]: *** [lcd4linux] Error 1
> > make[2]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/build/user/lcd4linux-0.10.1~rc2'
> > make: *** [build-stamp] Error 2
> >
> > The full build log is available from
> > http://people.debian.org/~lucas/logs/2007/08/06
> 
> I took a look at this; here is my analysis:
> 
> lcd4linux' configure checks for the presence of /usr/include/asm/msr.h,
> which is on your buildd. that file contains on my system this:
> 
> #ifndef __ASM_STUB_MSR_H
> #define __ASM_STUB_MSR_H
> # if defined __x86_64__
> #  include <asm-x86_64/msr.h>
> # elif defined __i386__
> #  include <asm-i386/msr.h>
> # else
> #  warning This machine appears to be neither x86_64 nor i386.
> # endif
> 
> I can only conclude that you build defines the macro '__x86_64__'
> confuses lcd4linux. Which is of course an important bug, but in no way
> release critical, IMO.
> 
> Do you run sbuild with 'linux32' prefixed, so that tools like 'uname -m'
> don't report x86_64?

Yes, I do.

I tried to reproduce this locally (x86 laptop), and it fails to build in
the same way. So re-bumping severity.
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Severity set to `serious' from `important' Request was from Lucas Nussbaum <lucas@lucas-nussbaum.net> to control@bugs.debian.org. (Tue, 07 Aug 2007 22:16:37 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #29 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@tauware.de>
To: lcd4linux-devel <lcd4linux-devel@lists.sourceforge.net>
Cc: 436332@bugs.debian.org
Subject: Re: [Lcd4linux-devel] [PATCH] Fix compilation with kernel 2.6.22
Date: Fri, 10 Aug 2007 17:54:44 +0200
forwarded 436332 lcd4linux-devel@lists.sourceforge.net
tags 436332 help upstream
stop

Michael Reinelt <reinelt@eunet.at> writes:

> Hi Guillaume,
>
>> The following patch does subject.
>> It's a partial rework of my precedent patch for kernel 2.6.21, but it
>> now defines the u32 and u64 types with typedef, and it defines
>> __KERNEL__ for rdtscl() definition.
>> I'd like to have your opinion on it, as I don't know whether a proper
>> way to compile it exists.
>
> Applied and checkd in to trunk, thanks.
>
> Although it does not fix compilation here - looks like my msr.h in 
> /usr/inlcude does not define rdtsc any more...
>
> any hints anyone?

Not a real hint, but this has been reported in debian as well:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436332

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



Noted your statement that Bug has been forwarded to lcd4linux-devel@lists.sourceforge.net. Request was from Reinhard Tartler <siretart@tauware.de> to control@bugs.debian.org. (Fri, 10 Aug 2007 15:57:03 GMT) (full text, mbox, link).


Tags added: help, upstream Request was from Reinhard Tartler <siretart@tauware.de> to control@bugs.debian.org. (Fri, 10 Aug 2007 15:57:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Extra info received and forwarded to list. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #38 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: Reinhard Tartler <siretart@tauware.de>
Cc: 436332@bugs.debian.org, control@bugs.debian.org, debian-kernel@lists.debian.org
Subject: Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Thu, 30 Aug 2007 09:15:03 +0200
clone 436332 -1
reassign -1 linux-libc-dev 2.6.22-3
retitle -1 linux-libc-dev: missing definition of rdtscl [linux-kernel-headers regression]
block 436332 by -1
thanks

Hi,

> > Relevant part:
> > gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2   -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_BeckmannEgle.o drv_BWCT.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_G15.o drv_HD44780.o drv_LCD2USB.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_picoLCD.o drv_RouterBoard.o drv_Sample.o drv_SimpleLCD.o drv_T6963.o drv_Trefon.o drv_USBHUB.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mpd.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o  -lncurses -lX11 -lgd -lusb   -lmpd -lmysqlclient -L/usr/lib/python2.4 -lpython2.4  -lpthread -ldl  -lutil -lm 
> > udelay.o: In function `ndelay':
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'
> > collect2: ld returned 1 exit status
> > make[2]: *** [lcd4linux] Error 1
 
rdtscl is not defined anywhere except in /usr/include/asm-x86_64/msr.h.

I would have expected it to be defined on i386 when asm/msr.h is included.

Thank you,
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Bug 436332 cloned as bug 440144. Request was from Lucas Nussbaum <lucas@lucas-nussbaum.net> to control@bugs.debian.org. (Thu, 30 Aug 2007 07:18:03 GMT) (full text, mbox, link).


Blocking bugs of 436332 added: 440144 Request was from Lucas Nussbaum <lucas@lucas-nussbaum.net> to control@bugs.debian.org. (Thu, 30 Aug 2007 07:18:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #47 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Bastian Blank <waldi@debian.org>
To: 440144@bugs.debian.org, 436332@bugs.debian.org
Subject: Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'
Date: Mon, 10 Sep 2007 17:47:54 +0200
[Message part 1 (text/plain, inline)]
tags 440144 moreinfo wontfix
severity 440144 normal
thanks

On Thu, Aug 30, 2007 at 09:15:03AM +0200, Lucas Nussbaum wrote:
> rdtscl is not defined anywhere except in /usr/include/asm-x86_64/msr.h.

rdtscl was removed as linux does not longer assume that it is able to
ask the TSC themself. Also it is unsafe to access the TSC from
userspace. I doubt that it is a bug at all in the kernel. Userspace
should use gettimeofday.

If you really think this is wrong, ask upstream yourself.

Bastian

-- 
Men will always be men -- no matter where they are.
		-- Harry Mudd, "Mudd's Women", stardate 1329.8
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Reinhard Tartler <siretart@tauware.de>:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Robert Buchholz <rbu@gentoo.org>:
Extra info received and forwarded to list. Copy sent to Reinhard Tartler <siretart@tauware.de>. (full text, mbox, link).


Message #52 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Robert Buchholz <rbu@gentoo.org>
To: 436332@bugs.debian.org
Subject: Fwd: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
Date: Tue, 2 Oct 2007 10:07:26 +0200
That should fix this bug.


Anfang der weitergeleiteten E-Mail:
> Von: Michael Reinelt <michael@reinelt.co.at>
> Datum: 1. Oktober 2007 17:58:40 MESZ
> An: lcd4linux-users <lcd4linux-users@lists.sourceforge.net>,  
> lcd4linux-devel <lcd4linux-devel@lists.sourceforge.net>
> Betreff: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
>
> Hi there,
>
> I just committed a changeset where I removed the whole RDTSC delay  
> loop
> stuff, and therefore lcd4linux does no longer need asm/msr.h
>
> Instead, a gettimeofday() delay loop will be used when necessary.
>
> The rdtsc stuff worked fine, but had two major disadvantages: It  
> did not
> work with variable CPU frequencies, and latest kernels do no longer
> offer the rdtsc() macro.
>
> The changeset has been committed to trunk, and will be backported  
> to the
> 0.10.1 branch as soon as I get some positive feedback 8or at least I
> don't get any negative feedback)
>
>
> bye, Michael
>
> -- 
> Michael Reinelt <michael@reinelt.co.at>
> http://home.pages.at/reinelt
> GPG-Key 0xDF13BA50
> ICQ #288386781
>




Information stored:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@debian.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #57 received at 436332-quiet@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@debian.org>
To: Robert Buchholz <rbu@gentoo.org>
Cc: 436332-quiet@bugs.debian.org
Subject: Re: Bug#436332: Fwd: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
Date: Tue, 02 Oct 2007 13:53:52 +0200
Robert Buchholz <rbu@gentoo.org> writes:

> That should fix this bug.
>
>
> Anfang der weitergeleiteten E-Mail:
>> Von: Michael Reinelt <michael@reinelt.co.at>
>> Datum: 1. Oktober 2007 17:58:40 MESZ
>> An: lcd4linux-users <lcd4linux-users@lists.sourceforge.net>,
>> lcd4linux-devel <lcd4linux-devel@lists.sourceforge.net>
>> Betreff: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
>>
>> Hi there,
>>
>> I just committed a changeset where I removed the whole RDTSC delay
>> loop
>> stuff, and therefore lcd4linux does no longer need asm/msr.h
>>
>> Instead, a gettimeofday() delay loop will be used when necessary.
>>
>> The rdtsc stuff worked fine, but had two major disadvantages: It did
>> not
>> work with variable CPU frequencies, and latest kernels do no longer
>> offer the rdtsc() macro.
>>
>> The changeset has been committed to trunk, and will be backported to
>> the
>> 0.10.1 branch as soon as I get some positive feedback 8or at least I
>> don't get any negative feedback)
>>
>>
>> bye, Michael

This is great news, Robert! Very much appreciated.

Can you perhaps send me the patch, as soon as Michael has applied it?
Or do you have the patch perhaps already applied to your ebuild?

Again, thanks for keeping me updated!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Information stored:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Robert Buchholz <rbu@gentoo.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #62 received at 436332-quiet@bugs.debian.org (full text, mbox, reply):

From: Robert Buchholz <rbu@gentoo.org>
To: Reinhard Tartler <siretart@debian.org>
Cc: 436332-quiet@bugs.debian.org
Subject: Re: Bug#436332: Fwd: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
Date: Tue, 2 Oct 2007 14:27:42 +0200
Am 02.10.2007 um 13:53 schrieb Reinhard Tartler:
>>> The changeset has been committed to trunk, and will be backported to
>>> the
>>> 0.10.1 branch as soon as I get some positive feedback 8or at least I
>>> don't get any negative feedback)
>>>
> This is great news, Robert! Very much appreciated.
>
> Can you perhaps send me the patch, as soon as Michael has applied it?
> Or do you have the patch perhaps already applied to your ebuild?

The change is in trunk [1], and as Michael writes he wants some  
reports before
applying it to the stable branch. I didn't test it or include it in
Gentoo yet as I'm on vacation (no LCDs here!) till tomorrow.

If you can test it earlier, let me know. Otherwise you'll hear from
me later this week.

Thanks,
Robert

[1] http://ssl.bulix.org/projects/lcd4linux/changeset?844





Information stored:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Robert Buchholz <rbu@gentoo.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #67 received at 436332-quiet@bugs.debian.org (full text, mbox, reply):

From: Robert Buchholz <rbu@gentoo.org>
To: 436332-quiet@bugs.debian.org
Cc: Reinhard Tartler <siretart@debian.org>
Subject: Re: Bug#436332: Fwd: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
Date: Thu, 4 Oct 2007 14:45:31 +0200
[Message part 1 (text/plain, inline)]
On Tuesday, 2. October 2007, Robert Buchholz wrote:
> If you can test it earlier, let me know. Otherwise you'll hear from
> me later this week.

I couldn't test it any further than compiling as only some drivers use 
the code, none of which I own a display for. Please refer to the thread 
for a list [1].

I'll attach the patch I tested with for you.

Regards,

Robert

[1] 
http://thread.gmane.org/gmane.comp.sysutils.lcd4linux.devel/228/focus=233

[lcd4linux-0.10.1_rc2-nordtsc.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information stored:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Robert Buchholz <rbu@gentoo.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #72 received at 436332-quiet@bugs.debian.org (full text, mbox, reply):

From: Robert Buchholz <rbu@gentoo.org>
To: 436332-quiet@bugs.debian.org
Cc: Reinhard Tartler <siretart@debian.org>
Subject: Re: Bug#436332: Fwd: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
Date: Sun, 28 Oct 2007 13:02:46 +0100
[Message part 1 (text/plain, inline)]
On Thursday, 4. October 2007, Robert Buchholz wrote:
> I'll attach the patch I tested with for you.

Anything speaking against this patch, as we're including it in out 
ebuild now.

Robert
[signature.asc (application/pgp-signature, inline)]

Tags added: pending Request was from Reinhard Tartler <siretart@debian.org> to control@bugs.debian.org. (Sun, 28 Oct 2007 14:24:06 GMT) (full text, mbox, link).


Information stored:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@debian.org>:
Extra info received and filed, but not forwarded. (full text, mbox, link).


Message #79 received at 436332-quiet@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@debian.org>
To: Robert Buchholz <rbu@gentoo.org>
Cc: 436332-quiet@bugs.debian.org
Subject: Re: Bug#436332: asm/msr.h inclusion and RDTSC stuff removed
Date: Sun, 28 Oct 2007 10:22:23 -0400
tags 436332 pending

Robert Buchholz <rbu@gentoo.org> writes:

> On Thursday, 4. October 2007, Robert Buchholz wrote:
>> I'll attach the patch I tested with for you.
>
> Anything speaking against this patch, as we're including it in out 
> ebuild now.

I'm currently this week on a conference. I will test and upload the
patch after I return home. Thanks for reporting back!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#436332; Package lcd4linux. (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@tauware.de>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #84 received at 436332@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@tauware.de>
To: lcd4linux-users@lists.sourceforge.net, 436332@bugs.debian.org
Subject: New Debian Packages need testing
Date: Thu, 10 Jan 2008 11:06:05 +0100
Hey LCD4Linux fans,

I finally got around to apply Michael's rdtsc fix for the debian
package. Unfortunately, after my notebook upgrade, my usb lcd device
stopped working, I assume it is not the device's fault, but something in
my 2.6.22 kernel. Anyway, I cannot really test the package, so I
uploaded it to http://siretart.tauware.de/upload-queue first.

Could please someone test that package and mail success or error reports
to 436332@bugs.debian.org? Thanks a lot in advance!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Reply sent to Reinhard Tartler <siretart@tauware.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #89 received at 436332-close@bugs.debian.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@tauware.de>
To: 436332-close@bugs.debian.org
Subject: Bug#436332: fixed in lcd4linux 0.10.1~rc2-2
Date: Fri, 11 Jan 2008 18:17:03 +0000
Source: lcd4linux
Source-Version: 0.10.1~rc2-2

We believe that the bug you reported is fixed in the latest version of
lcd4linux, which is due to be installed in the Debian FTP archive:

lcd4linux_0.10.1~rc2-2.diff.gz
  to pool/main/l/lcd4linux/lcd4linux_0.10.1~rc2-2.diff.gz
lcd4linux_0.10.1~rc2-2.dsc
  to pool/main/l/lcd4linux/lcd4linux_0.10.1~rc2-2.dsc
lcd4linux_0.10.1~rc2-2_i386.deb
  to pool/main/l/lcd4linux/lcd4linux_0.10.1~rc2-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 436332@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated lcd4linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 10 Jan 2008 10:30:49 +0100
Source: lcd4linux
Binary: lcd4linux
Architecture: source i386
Version: 0.10.1~rc2-2
Distribution: unstable
Urgency: medium
Maintainer: Reinhard Tartler <siretart@tauware.de>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Description: 
 lcd4linux  - Grabs information and displays it on an external lcd
Closes: 436332
Changes: 
 lcd4linux (0.10.1~rc2-2) unstable; urgency=medium
 .
   * Bugfix: "lcd4linux: FTBFS: undefined reference to `rdtscl'" Patch
     taken from upstream svn. Thanks to Robert Buchholz and Michael Reinelt
     (upstream) for reviewing the patch. Closes: #436332
   * Urgency medium for RC bug
   * bump to standards version 3.7.3 (no changes needed)
   * add Vcs-Bzr and Homepage header.
Files: 
 e84ea8addbb9a17b71d47c6d8b446cbd 845 utils optional lcd4linux_0.10.1~rc2-2.dsc
 fe62665c595d2af7b7c119385a11eb54 7098 utils optional lcd4linux_0.10.1~rc2-2.diff.gz
 9237b7d39a4778fa22e756b744b1373c 159038 utils optional lcd4linux_0.10.1~rc2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian Powered!

iD8DBQFHh7AomAg1RJRTSKQRAv6+AJ9GLzY9A/G2CvN71XOpIFdvhh9a3QCeMp2Q
MOOP6sQaBMHLWw04/JIRr2I=
=iDJm
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 19 Mar 2008 07:29:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 27 17:05:49 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.