Bug 56704 - rlim_t problem gcc 4.8.0 on Solaris 2.10/sparc?
Summary: rlim_t problem gcc 4.8.0 on Solaris 2.10/sparc?
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 23:22 UTC by Jay
Modified: 2014-03-23 10:29 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2013-03-24 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay 2013-03-23 23:22:54 UTC
jkrell@unstable10s [unstable10s]:~/obj/gcc480-sparc-sun-solaris2.10/gcc > gmake
/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/./prev-gcc/xg++ -B/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/./prev-gcc/ -B/home/jkrell/gcc480-sparc-sun-solaris2.10/sparc-sun-solaris2.10/bin/ -nostdinc++ -B/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs -I/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10 -I/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/include -I/home/jkrell/src/gcc-4.8.0/libstdc++-v3/libsupc++ -L/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs -L/home/jkrell/obj/gcc480-sparc-sun-solaris2.10/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/jkrell/src/gcc-4.8.0/gcc -I/home/jkrell/src/gcc-4.8.0/gcc/build -I/home/jkrell/src/gcc-4.8.0/gcc/../include -I./../intl -I/home/jkrell/src/gcc-4.8.0/gcc/../libcpp/include  -I/home/jkrell/src/gcc-4.8.0/gcc/../libdecnumber -I/home/jkrell/src/gcc-4.8.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/jkrell/src/gcc-4.8.0/gcc/../libbacktrace    \
        -o build/genconstants.o /home/jkrell/src/gcc-4.8.0/gcc/genconstants.c
In file included from ./bconfig.h:3:0,
                 from /home/jkrell/src/gcc-4.8.0/gcc/genconstants.c:27:
./auto-host.h:1994:16: error: declaration does not declare anything [-fpermissive]
 #define rlim_t long
                ^
gmake: *** [build/genconstants.o] Error 1


I'm going to try just removing the lines from configure/configure.ac.
I don't see how it ends up deciding to do the #define.
rlim_t is typedefed in /usr/include/sys/resources.h
Comment 1 Andrew Pinski 2013-03-23 23:31:41 UTC
PR 55784
Comment 2 Eric Botcazou 2013-03-24 11:46:16 UTC
I don't have it on the Solaris 10 machine I use:

(botcazou@ob) /nile.build/botcazou/gcc-head/sparc-sun-solaris2.10/gcc $ grep rlim_t auto-host.h 
/* #undef rlim_t */

What's your configuration line?
Comment 3 Eric Botcazou 2014-03-23 10:29:48 UTC
No feedback.