Hi
sorry but I don't know howto format this:

set -e;  echo '  CC      /home/andrea/emc2-dev/src/hm2_7i43.mod.o'; cc
-Wp,-MD,/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.d  -nostdinc -isystem
/usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude
-I/usr/src/linux-2.6.32.2/arch/x86/include -include include/linux/autoconf.h
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding
-fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe
-Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-Os -I. -I/usr/realtime/include -I. -I/usr/realtime/include
-D_FORTIFY_SOURCE=0 -ffast-math -mhard-float -DRTAI=3 -DRTAPI -D_GNU_SOURCE
-Drealtime -D_FORTIFY_SOURCE=0 -D__MODULE__ -I/home/andrea/emc2-dev/src
-I/home/andrea/emc2-dev/src/libnml/linklist
-I/home/andrea/emc2-dev/src/libnml/cms
-I/home/andrea/emc2-dev/src/libnml/rcs
-I/home/andrea/emc2-dev/src/libnml/inifile
-I/home/andrea/emc2-dev/src/libnml/os_intf
-I/home/andrea/emc2-dev/src/libnml/nml
-I/home/andrea/emc2-dev/src/libnml/buffer
-I/home/andrea/emc2-dev/src/libnml/posemath
-I/home/andrea/emc2-dev/src/rtapi -I/home/andrea/emc2-dev/src/hal
-I/home/andrea/emc2-dev/src/emc/nml_intf
-I/home/andrea/emc2-dev/src/emc/kinematics
-I/home/andrea/emc2-dev/src/emc/motion -DSEQUENTIAL_SUPPORT -DHAL_SUPPORT
-DDYNAMIC_PLCSIZE -DRT_SUPPORT -DOLD_TIMERS_MONOS_SUPPORT
-DMODBUS_IO_MASTER  -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(hm2_7i43.mod)"
-D"KBUILD_MODNAME=KBUILD_STR(hm2_7i43)" -D"DEBUG_HASH=29" -D"DEBUG_HASH2=48"
-DMODULE -c -o /home/andrea/emc2-dev/src/hm2_7i43.mod.o
/home/andrea/emc2-dev/src/hm2_7i43.mod.c; scripts/basic/fixdep
/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.d
/home/andrea/emc2-dev/src/hm2_7i43.mod.o 'cc
-Wp,-MD,/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.d  -nostdinc -isystem
/usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude
-I/usr/src/linux-2.6.32.2/arch/x86/include -include include/linux/autoconf.h
-D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding
-fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe
-Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-Os -I. -I/usr/realtime/include -I. -I/usr/realtime/include
-D_FORTIFY_SOURCE=0 -ffast-math -mhard-float -DRTAI=3 -DRTAPI -D_GNU_SOURCE
-Drealtime -D_FORTIFY_SOURCE=0 -D__MODULE__ -I/home/andrea/emc2-dev/src
-I/home/andrea/emc2-dev/src/libnml/linklist
-I/home/andrea/emc2-dev/src/libnml/cms
-I/home/andrea/emc2-dev/src/libnml/rcs
-I/home/andrea/emc2-dev/src/libnml/inifile
-I/home/andrea/emc2-dev/src/libnml/os_intf
-I/home/andrea/emc2-dev/src/libnml/nml
-I/home/andrea/emc2-dev/src/libnml/buffer
-I/home/andrea/emc2-dev/src/libnml/posemath
-I/home/andrea/emc2-dev/src/rtapi -I/home/andrea/emc2-dev/src/hal
-I/home/andrea/emc2-dev/src/emc/nml_intf
-I/home/andrea/emc2-dev/src/emc/kinematics
-I/home/andrea/emc2-dev/src/emc/motion -DSEQUENTIAL_SUPPORT -DHAL_SUPPORT
-DDYNAMIC_PLCSIZE -DRT_SUPPORT -DOLD_TIMERS_MONOS_SUPPORT
-DMODBUS_IO_MASTER  -D"KBUILD_STR(s)=\#s"
-D"KBUILD_BASENAME=KBUILD_STR(hm2_7i43.mod)"
-D"KBUILD_MODNAME=KBUILD_STR(hm2_7i43)" -D"DEBUG_HASH=29" -D"DEBUG_HASH2=48"
-DMODULE -c -o /home/andrea/emc2-dev/src/hm2_7i43.mod.o
/home/andrea/emc2-dev/src/hm2_7i43.mod.c' >
/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.tmp; rm -f
/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.d; mv -f
/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.tmp
/home/andrea/emc2-dev/src/.hm2_7i43.mod.o.cmd

It seems to be an -ffast-math -mhard-float but I don't know if is it the
right one.
I have installed emc on some older pc but right now I would install on my
laptop pc for fast "prototype".
It is a toshiba a300 intel centrino with P8400 and a pci-e (OXPCIe952) card
for the parallel and serial port.

Best regards.


2010/1/20 Jeff Epler <[email protected]>

> On Wed, Jan 20, 2010 at 08:18:44PM +0100, andrea buono wrote:
> > Hi
> > thanks,
> >  I have check it but CONFIG_RTAI_FPU_SUPPORT is set,
>
> Well, then there's some other cause for gcc emitting the code it does.
>
> I tried simple programs on gcc version 4.4.3 20100108 (prerelease)
> (Ubuntu 4.4.2-9ubuntu3) and don't get any calls to __fixunsdfdi except
> when I specify -msoft-float
>
> Perhaps there's some other source of the -msoft-float flag, or perhaps
> your gcc simply does not behave in the way that emc requires.
>
> You can see the full compiler commandlines (warning, lots of spew!) by
> touching a source file of a module and runing 'make -n'.  On the first
> system I have handy, here's the compile flag for hm2_7i43.o, reformatted
> for
> your comfort:
>    set -e; echo '  CC [M]
> /home/jepler/emc2-dev/src/hal/drivers/mesa-hostmot2/hm2_7i43.o';
>    gcc-3.4
> -Wp,-MD,/home/jepler/emc2-dev/src/hal/drivers/mesa-hostmot2/.hm2_7i43.o.d
>        -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/3.4.5/include
>        -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs
>        -fno-strict-aliasing -fno-common -ffreestanding -Os
>        -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
>        -fno-unit-at-a-time -march=i586 -Iinclude/asm-i386/mach-default
>        -Wdeclaration-after-statement  -Os -I.
>        -I/usr/realtime-2.6.12-magma/include -I.
>        -I/usr/realtime-2.6.12-magma/include -ffast-math -mhard-float
>        -DRTAI=3 -DRTAPI -D_GNU_SOURCE -Drealtime -D_FORTIFY_SOURCE=0
>        -D__MODULE__ -I/home/jepler/emc2-dev/src
>        -I/home/jepler/emc2-dev/src/libnml/linklist
>        -I/home/jepler/emc2-dev/src/libnml/cms
>        -I/home/jepler/emc2-dev/src/libnml/rcs
>        -I/home/jepler/emc2-dev/src/libnml/inifile
>        -I/home/jepler/emc2-dev/src/libnml/os_intf
>        -I/home/jepler/emc2-dev/src/libnml/nml
>        -I/home/jepler/emc2-dev/src/libnml/buffer
>        -I/home/jepler/emc2-dev/src/libnml/posemath
>        -I/home/jepler/emc2-dev/src/rtapi -I/home/jepler/emc2-dev/src/hal
>        -I/home/jepler/emc2-dev/src/emc/nml_intf
>        -I/home/jepler/emc2-dev/src/emc/kinematics
>        -I/home/jepler/emc2-dev/src/emc/motion -DSEQUENTIAL_SUPPORT
>        -DHAL_SUPPORT -DDYNAMIC_PLCSIZE -DRT_SUPPORT
>        -DOLD_TIMERS_MONOS_SUPPORT -DMODBUS_IO_MASTER  -DMODULE
>        -DKBUILD_BASENAME=hm2_7i43 -DKBUILD_MODNAME=hm2_7i43 -c -o
>        /home/jepler/emc2-dev/src/hal/drivers/mesa-hostmot2/hm2_7i43.o
>        /home/jepler/emc2-dev/src/hal/drivers/mesa-hostmot2/hm2_7i43.c
>
> as you can see, both -msoft-float and -mhard-float are specified, with the
> final
> one being -mhard-float.
>
> > I don't know if is relevant but I run emc with root privilege.
>
> We advise against this, but it is unrelated to the present problem.  If
> you've used emc before now on this system, what changed about it since
> the time when it worked?
>
> Jeff
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to