Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Xterm: undefined reference to __longjmp_chk
@ 2010-10-07 18:19 Massimiliano Marretta
  2010-10-08  8:13 ` Massimiliano Marretta
  2010-10-08  8:13 ` Massimiliano Marretta
  0 siblings, 2 replies; 3+ messages in thread
From: Massimiliano Marretta @ 2010-10-07 18:19 UTC (permalink / raw)
  To: buildroot

  Hi,

I'm using the buildroot 2010.08 version with crosstool-ng toolchain. The 
target is an x86 i686.
I receive this error wit xterm compilation:

charproc.o: In function `VTReset':
charproc.c:(.text+0x2623): undefined reference to `__longjmp_chk'
main.o: In function `hungtty':
main.c:(.text+0x867): undefined reference to `__longjmp_chk'
misc.o: In function `end_vt_mode':
misc.c:(.text+0x3a3): undefined reference to `__longjmp_chk'
misc.o: In function `end_tek_mode':
misc.c:(.text+0x3c7): undefined reference to `__longjmp_chk'
Tekproc.o: In function `Tinput':
Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
make[1]: Leaving directory 
`/srv/source/buildroot-2010.08/output/build/xterm-259'
make: *** 
[/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] Error 2


-- 

Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Xterm: undefined reference to __longjmp_chk
  2010-10-07 18:19 [Buildroot] Xterm: undefined reference to __longjmp_chk Massimiliano Marretta
@ 2010-10-08  8:13 ` Massimiliano Marretta
  2010-10-08  8:13 ` Massimiliano Marretta
  1 sibling, 0 replies; 3+ messages in thread
From: Massimiliano Marretta @ 2010-10-08  8:13 UTC (permalink / raw)
  To: buildroot

  I resolved the problem by add to the makefile.in the CPPFLAGS 
-U_FORTIFY_SOURCE.
There is possibility to add this flag by xterm.mk or is necessary to 
create a patch ?


On 10/07/10 20:19, Massimiliano Marretta wrote:
>  Hi,
>
> I'm using the buildroot 2010.08 version with crosstool-ng toolchain. 
> The target is an x86 i686.
> I receive this error wit xterm compilation:
>
> charproc.o: In function `VTReset':
> charproc.c:(.text+0x2623): undefined reference to `__longjmp_chk'
> main.o: In function `hungtty':
> main.c:(.text+0x867): undefined reference to `__longjmp_chk'
> misc.o: In function `end_vt_mode':
> misc.c:(.text+0x3a3): undefined reference to `__longjmp_chk'
> misc.o: In function `end_tek_mode':
> misc.c:(.text+0x3c7): undefined reference to `__longjmp_chk'
> Tekproc.o: In function `Tinput':
> Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
> collect2: ld returned 1 exit status
> make[1]: *** [xterm] Error 1
> make[1]: Leaving directory 
> `/srv/source/buildroot-2010.08/output/build/xterm-259'
> make: *** 
> [/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] 
> Error 2
>
>


-- 

Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101008/ecb527ad/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Xterm: undefined reference to __longjmp_chk
  2010-10-07 18:19 [Buildroot] Xterm: undefined reference to __longjmp_chk Massimiliano Marretta
  2010-10-08  8:13 ` Massimiliano Marretta
@ 2010-10-08  8:13 ` Massimiliano Marretta
  1 sibling, 0 replies; 3+ messages in thread
From: Massimiliano Marretta @ 2010-10-08  8:13 UTC (permalink / raw)
  To: buildroot

  I resolved the problem by add to the makefile.in the CPPFLAGS 
-U_FORTIFY_SOURCE.
There is possibility to add this flag by xterm.mk or is necessary to 
create a patch ?


On 10/07/10 20:19, Massimiliano Marretta wrote:
>  Hi,
>
> I'm using the buildroot 2010.08 version with crosstool-ng toolchain. 
> The target is an x86 i686.
> I receive this error wit xterm compilation:
>
> charproc.o: In function `VTReset':
> charproc.c:(.text+0x2623): undefined reference to `__longjmp_chk'
> main.o: In function `hungtty':
> main.c:(.text+0x867): undefined reference to `__longjmp_chk'
> misc.o: In function `end_vt_mode':
> misc.c:(.text+0x3a3): undefined reference to `__longjmp_chk'
> misc.o: In function `end_tek_mode':
> misc.c:(.text+0x3c7): undefined reference to `__longjmp_chk'
> Tekproc.o: In function `Tinput':
> Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
> collect2: ld returned 1 exit status
> make[1]: *** [xterm] Error 1
> make[1]: Leaving directory 
> `/srv/source/buildroot-2010.08/output/build/xterm-259'
> make: *** 
> [/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] 
> Error 2
>
>


-- 

Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-08  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 18:19 [Buildroot] Xterm: undefined reference to __longjmp_chk Massimiliano Marretta
2010-10-08  8:13 ` Massimiliano Marretta
2010-10-08  8:13 ` Massimiliano Marretta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox