You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/05/07 17:24:15 UTC
[jira] Resolved: (STDCXX-400) [Intel C++ 9.1/Linux] SIGSEGV calling
a vararg function
[ https://issues.apache.org/jira/browse/STDCXX-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-400.
---------------------------------
Resolution: Cannot Reproduce
This turned out to be an installation problem. All appears to be find after reinstalling the compiler.
> [Intel C++ 9.1/Linux] SIGSEGV calling a vararg function
> -------------------------------------------------------
>
> Key: STDCXX-400
> URL: https://issues.apache.org/jira/browse/STDCXX-400
> Project: C++ Standard Library
> Issue Type: Bug
> Components: External
> Environment: Intel C++ 9.1/Linux/EM64T
> Reporter: Martin Sebor
> Priority: Blocker
>
> From https://premier.intel.com/premier/IssueDetail.aspx?IssueID=431562:
> The program below runs fine when compiled with gcc but fails with SIGSEGV when compiled with Intel C++ 9.1. The same program runs successfully to completion when compiled with Intel C++ 9.0 (l_cc_c_9.0.031).
> $ cat t.cpp && g++ --version && g++ t.cpp && ./a.out && icpc -V t.cpp && ./a.out
> #include <stdio.h>
> #include <stdarg.h>
> void foo (const char *fmt, ...) {
> va_list va;
> va_start (va, fmt);
> vfprintf (stdout, fmt, va);
> va_end (va);
> }
> int main () { foo ("%s\n", "Hello, World!"); }
> g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Hello, World!
> Intel(R) C++ Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070320 Package ID: l_cc_c_9.1.049
> Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
> Edison Design Group C/C++ Front End, version 3.6 (Mar 22 2007 02:18:08)
> Copyright 1988-2005 Edison Design Group, Inc.
> GNU ld version 2.15.92.0.2 20040927
> Segmentation fault
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.