#736 closed defect (fixed)
ttyfd conflicts
Reported by: | Ralf Corsepius | Owned by: | Eric Norum |
---|---|---|---|
Priority: | highest | Milestone: | 2 |
Component: | network/legacy | Version: | unknown |
Severity: | critical | Keywords: | |
Cc: | bugs@…, joel.sherrill@…, osv@… | Blocked By: | |
Blocking: |
Description
GCC-4.0.x chokes on broken code in pppd:
...
if arm-rtems4.7-gcc --pipe -B../../../../lib/ -B../../../../arm_bare_bsp/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.6.99.1\" -DPACKAGE_STRING=\"rtems-c-src\ 4.6.99.1\" -DPACKAGE_BUGREPORT=\"rtems-bugs@…\" -I. -I../../../../../../../rtems.work/c/src/libnetworking/pppd -isystem ../../../../arm_bare_bsp/lib/include -O2 -msoft-float -g -Wall -MT libpppd_a-chat.o -MD -MP -MF ".deps/libpppd_a-chat.Tpo" -c -o libpppd_a-chat.o test -f 'chat.c' || echo '../../../../../../../rtems.work/c/src/libnetworking/pppd/'
chat.c; \
then mv -f ".deps/libpppd_a-chat.Tpo" ".deps/libpppd_a-chat.Po"; else rm -f ".deps/libpppd_a-chat.Tpo"; exit 1; fi
../../../../../../../rtems.work/c/src/libnetworking/pppd/chat.c:166: error: static declaration of 'ttyfd' follows non-static declaration
../../../../../../../rtems.work/c/src/libnetworking/pppd/pppd.h:144: error: previous declaration of 'ttyfd' was here
gmake[4]: * [libpppd_a-chat.o] Error 1
gmake[4]: Leaving directory `/users/rtems/src/rtems-cvs/build/arm/arm-rtems4.7/c/arm_bare_bsp/libnetworking/pppd'
gmake[3]: * [all-recursive] Error 1
AFAIS, GCC-4.x is right, the code is broken.
Release:
All, GCC >= 4.0.x
Change History (3)
comment:1 Changed on 01/20/05 at 16:01:16 by Joel Sherrill
Status: | assigned → closed |
---|
comment:2 Changed on 01/31/05 at 12:15:07 by osv2
comment:3 Changed on 10/10/17 at 06:44:19 by Sebastian Huber
Component: | pppd → network/legacy |
---|
From: osv@…
To: bugs
Cc:
Subject: Fix commited for PR736 breaks pppd.
Date: Mon, 31 Jan 2005 07:15:07 -0600