[Bug rtl-optimization/34157] New: freebsd 6.3 jdk1.5 build internal compiler error: Segmentation fault: 11

2007-11-19 Thread nitefalll at gmail dot com
cense.sh
.endif

# Extract the files
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@${CC} ${CFLAGS} -o ${WRKDIR}/x_x2zip ${FILESDIR}/x_x2zip.c
@for file in ${EXTRACT_ONLY}; do \
if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS}
"${D
ISTDIR}/$$file" ${EXTRACT_AFTER_ARGS}); \
then \
exit 1; \
fi; \
if [ `basename $$file .jar` != $$file ]; \
then \
if ! (cd ${WRKDIR} && ${WRKDIR}/x_x2zip 'YES I ACCEPT
TH
E CLICK THROUGH LICENSE.  ' X_X && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS}
${WRKDI
R}/X_X.zip ${EXTRACT_AFTER_ARGS}); \
then \
exit 1; \
fi; \
fi \
done

${BZIP2_CMD} -dc ${DISTDIR}/${PATCHSETFILE} | ${TAR} -xf - && \
${CHMOD} -R u+w * && \
${PATCH} -p0 < ${WRKDIR}/jdk15.patches
.if (${ARCH} == amd64) && !defined(WITHOUT_WEB)
@cd ${WRKDIR} && \
.endif
@for file in ${PTHREAD_FILES}; do \
done
@for file in ${X11_FILES}; do \
${REINPLACE_CMD} -e "s:%%X11BASE%%:${X11BASE}:" \
${WRKSRC}/$${file}; \
-e "s:%%JDK_VERSION%%:${JDK_VERSION}:g"\
   
${WRKSRC}/../../deploy/src/plugin/solaris/controlpanel/sun_java.
@if [ "$${WRKDIRPREFIX}" -a \
 -L "/compat/linux/$${WRKDIRPREFIX}" -a \
 x`${LS} -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk
'/->
/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \
then \
${ECHO_MSG} "Please set WRKDIRPREFIX to something which
doesn't"
; \
${ECHO_MSG} "have a matching symbolic link in /compat/linux.";
\
${ECHO_MSG} "This is known to cause problems during
bootstrappin
g."; \
exit 1; \
fi
@if [ `/sbin/sysctl -n compat.linux.osname` != "Linux" ]; \
then \
${ECHO_MSG} "to 'Linux' with the command:"; \
${ECHO_MSG} "   /sbin/sysctl compat.linux.osname=Linux"; \
${ECHO_MSG} "Having it set to other values, such as
'FreeBSD',";
 \
${ECHO_MSG} "is known to cause problems during bootstrapping.";
\
exit 1; \
fi
then \
${ECHO_MSG} "ERROR: You must have LINPROCFS mounted before" ; \
${ECHO_MSG} "starting to build the native JDK 1.5.0." ; \
${ECHO_MSG} "" ; \
${ECHO_MSG} "You may do it with the following commands:" ; \
${ECHO_MSG} "" ; \
${ECHO_MSG} "# kldload linprocfs" ; \
${ECHO_MSG} "" ; \
${ECHO_MSG} "# mount -t linprocfs linprocfs /compat/linux/proc"
; \
${ECHO_MSG} "" ; \
exit 1 ; \
fi
.endif#}
.endif

do-build:
# Start of jdk build
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS}
${MAK
post-build:
@# XXX don't install japanese manpages
@${RM} -rf ${JDKIMAGEDIR}/man/ja
@# Update time zones
@-${JDKIMAGEDIR}/bin/java -jar \
   
${WRKDIR}/tzupdater-${TZUPDATE_VERSION}-${TZUPDATE_TZVERSION}/tz
updater.jar -u -bc
@-${RM} -rf ${JDKIMAGEDIR}/jre/lib/zi.tzdata*
.endif

do-install:
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
cd ${JDKIMAGEDIR} && ${FIND} . \
${INSTALL_DATA} ${JDKIMAGEDIR}/jre/plugin/desktop/sun_java.desktop \
${PREFIX}/share/applications/sun_java15.desktop
.endif
@${FIND} -s ${JDKIMAGEDIR} -not -type d | \
@${ECHO_MSG} '@exec ${LOCALBASE}/bin/update-desktop-database >
/dev/null
 || /usr/bin/true' >> ${TMPPLIST}
.endif
.if defined(WITH_DEBUG)
@${FIND} -s ${JDKIMAGEDIR_G} -not -type d | \
  ${SED} -ne 's#^${JDKIMAGEDIR_G}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
.endif
.if defined(WITH_POLICY)
${INSTALL_DATA} ${WRKDIR}/jce/*.jar
${PREFIX}/jdk${JDK_VERSION}/jre/lib/
security
.endif
@${FIND} -s -d ${PREFIX}/jdk${JDK_VERSION} -type d | \
  ${SED} -ne 's#^${PREFIX}/[EMAIL PROTECTED] #p' >> ${TMPPLIST}
@${ECHO_MSG} "@exec ${LOCALBASE}/bin/registervm
${PREFIX}/jdk${JDK_VERSI
ON}/bin/java # FREEBSD-JDK${JDK_VERSION}" >> ${TMPPLIST}
.if !defined(WITHOUT_WEB)
@${ECHO_MSG} '@unexec ${LOCALBASE}/bin/update-desktop-database >
/dev/nu
ll || /usr/bin/true' >> ${TMPPLIST}
.endif

# XXX: put unregistervm into install script ?
post-install:
@${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java #
FRE
EBSD-JDK${JDK_VERSION}"
.if !defined(WITHOUT_WEB)
@-update-desktop-database
.endif
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME}
POST-INST
ALL

.include 


-- 
   Summary: freebsd 6.3 jdk1.5 build internal compiler error:
Segmentation fault: 11
   Product: gcc
   Version: 3.4.6
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nitefalll at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34157



[Bug rtl-optimization/34157] freebsd 6.3 jdk1.5 build internal compiler error: Segmentation fault: 11

2007-11-19 Thread nitefalll at gmail dot com


--- Comment #1 from nitefalll at gmail dot com  2007-11-20 02:22 ---
I'm an advanced beginner. So if I can help provide more data please ask. Be
warned you may need to help me figure out how to acquire the extra data. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34157



[Bug rtl-optimization/34157] freebsd 6.3 jdk1.5 build internal compiler error: Segmentation fault: 11

2007-12-09 Thread nitefalll at gmail dot com


--- Comment #3 from nitefalll at gmail dot com  2007-12-09 22:32 ---
The actual resolution was finding the segmentation fault happened at different
points in the build process with nothing changed but hitting "make" again. That
told me it might be a hardware issue. I took off the case cover and it built
correctly first time. That told me that I might have a overheating problem. 

My cpu is overclocked but I did so on the test bench. Inside a case with power
supply and drives is a whole different ballgame. To fix I simply went back to
default speeds and it built just fine. 

I'm good with this a resolved issue. It might be nice to keep it in the
searchable archives as I could have used some help with a segmentation fault
#11.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34157