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

I'm running on x86: Debian Wheeze with the preempt-rt patches and a
stock Debian preempt-rt kernel:

charles@deb:~$ uname -a
Linux deb 3.2.0-3-rt-686-pae #1 SMP PREEMPT RT Mon Jul 23 05:49:20 UTC
2012 i686 GNU/Linux

I'm not sure if the -fPIC has anything to do with the problem or not,
just that it happened somewhere between the two commits I mentioned
and that I spent more time than I should have thinking my code I'm
writing to interface to my 3D printer was broken.

I don't have time to bisect the issue now, but I'll try to see if I
can figure out what's wrong in the next day or two.

...back a bit more on topic, I'd like to see the preempt-rt patches
integrated into the mainline code.  There are some obvious issue that
need fixing before this can happen (ie: at least the packaging scripts
need to be updated so a *.deb can be built).  Otherwise, what would
have to happen for the inclusion of a preempt-rt option to be considered?


On 10/7/2012 10:41 AM, Michael Haberler wrote:
> 
> to clarify: the -fPIC flag applies to files under src/redis :
> 
> http://git.mah.priv.at/gitweb/emc2-dev.git/blobdiff/e19ded9b39082f9f39205e6b4801362500d55d61..d0ccaabb88cb5f4b471f238a47de6bd3333cdce7:/src/redis/Submakefile
>
>  so I cant quite see how this relates to your issue yet
> 
> -m
> 
> Am 07.10.2012 um 17:39 schrieb Michael Haberler:
> 
>> 
>> Am 07.10.2012 um 17:21 schrieb Charles Steinkuehler:
>> 
> Linking ../rtlib/abs.so ld -r -o objects/abs.tmp
> objects/rtobjects/hal/components/abs.o gcc -shared -Bsymbolic
> -L/home/maker/linuxcnc-dev/lib 
> -Wl,-rpath,/home/maker/linuxcnc-dev/lib -o ../rtlib/abs.so 
> objects/abs.tmp -lm `__x86.get_pc_thunk.bx' referenced in section
> `.text' of objects/abs.tmp: defined in discarded section 
> `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of
> objects/abs.tmp `__x86.get_pc_thunk.bx' referenced in section
> `.text' of objects/abs.tmp: defined in discarded section 
> `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of
> objects/abs.tmp `__x86.get_pc_thunk.bx' referenced in section
> `.text' of objects/abs.tmp: defined in discarded section 
> `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of
> objects/abs.tmp `__x86.get_pc_thunk.bx' referenced in section
> `.text' of objects/abs.tmp: defined in discarded section 
> `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of
> objects/abs.tmp collect2: error: ld returned 1 exit status make:
> *** [../rtlib/abs.so] Error 1
> 
> I haven't had time to isolate the problem yet, and I'm not sure it 
> affects anything that isn't using the preempt-rt patches, but it's 
> somewhere between the following two commits:
> 
> Works: 85599fcd501ae3c0db6abd5bc2037b4f229743c6 interp/remap: fix
> handling of 'n' argspec
> 
> Fails: d0ccaabb88cb5f4b471f238a47de6bd3333cdce7 redis-integration:
> compile libredisglue with -fPIC
> 
> On 10/7/2012 9:54 AM, Jan de Kruyf wrote:
>>>>> "man ld" is a good start. Then, I think in the top make
>>>>> file, you add some interesting warning switches to
>>>>> $LDFLAGS. (line 180 or 182 depending what you are upto)
>>>>> Like   " --verbose" "--warn-common" 
>>>>> "--warn-unresolved-symbols" and so on. By the looks of it
>>>>> there is a symbol problem of the third kind, i.e. not the
>>>>> regular missing symbol because a missing lib.
>>>>> 
>>>>> Have fun,
>>>>> 
>>>>> j.
>>>>> 
>>>>> On Sun, Oct 7, 2012 at 3:26 AM, andy pugh
>>>>> <[email protected]> wrote:
>>>>> 
>>>>>> I don't know where to go from here.
>>>>>> 
>>>>>> I can build LinuxCNC including my new component using
>>>>>> "make" in both realtime and sim modes.
>>>>>> 
>>>>>> I can create debs in realtime mode.
>>>>>> 
>>>>>> I can't create debs in sim mode. But the error messages
>>>>>> give no clue why.
>>>>>> 
>>>>>> My work is currently in a branch off of 2.5. I can build
>>>>>> sim-2.5 debs.
>>>>>> 
>>>>>> I really don't know where to go from here.
>>>>>> 
>>>>>> -- atp If you can't fix it, you don't own it. 
>>>>>> http://www.ifixit.com/Manifesto
> 
>>> 
>>> ------------------------------------------------------------------------------
>>>
>>> 
Don't let slow site performance ruin your business. Deploy New Relic APM
>>> Deploy New Relic app performance management and know exactly 
>>> what is happening inside your Ruby, Python, PHP, Java, and .NET
>>> app Try New Relic at no cost today and get our sweet Data Nerd
>>> shirt too! http://p.sf.net/sfu/newrelic-dev2dev 
>>> _______________________________________________ Emc-developers
>>> mailing list [email protected] 
>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>> 
>> 
>> ------------------------------------------------------------------------------
>>
>> 
Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly what
>> is happening inside your Ruby, Python, PHP, Java, and .NET app 
>> Try New Relic at no cost today and get our sweet Data Nerd shirt
>> too! http://p.sf.net/sfu/newrelic-dev2dev 
>> _______________________________________________ Emc-developers
>> mailing list [email protected] 
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> 
> 
> ------------------------------------------------------------------------------
>
> 
Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly what
> is happening inside your Ruby, Python, PHP, Java, and .NET app Try
> New Relic at no cost today and get our sweet Data Nerd shirt too! 
> http://p.sf.net/sfu/newrelic-dev2dev 
> _______________________________________________ Emc-developers
> mailing list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/emc-developers

- -- 
Charles Steinkuehler
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlByBCIACgkQLywbqEHdNFwj6QCg7Zf+SEYYeeTtOYD0MFjC8Ckc
WQAAoO8bad3eYg0g+FCe+8cp2G9SLwQs
=EyE7
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to