Menu

found a bug BFD 2.15.91 20040904 internal err

2011-02-22
2012-09-26
  • ilman manolov

    ilman manolov - 2011-02-22

    BFD 2.15.91 20040904 internal error, aborting at ../../src/bfd/cache.c line
    495 in bfd_cache_lookup_worker
    anyone got an idea what it is. I'm sure it is a bug. Tha compiler says "Please
    report this bug".
    My sourse

    include <iostream>

    include <math.h>

    using namespace std;
    int main ()
    {
    int N, h;
    cin>>N;
    h=sqrt(N);
    while ((N%h)!=0)
    {h--;}
    cout<<2*(h+(N/h))<<endl;
    system ("pause");
    return 0;
    }
    just doing a daily problem

     
  • maxatan

    maxatan - 2011-11-15

    Hello!
    I have the same error: " BFD 2.15.91 20040904 internal error, aborting at
    ../../src/bfd/cache.c line 495 in bfd_cache_lookup_worker "

    include <cstdlib>

    include <iostream>

    include <winsock.h>

    using namespace std;

    int main(int argc, char *argv)
    {
    cout << "Start..." << endl;

    system("PAUSE");
    return EXIT_SUCCESS;
    }
    The error occurs when I add the lib "libws2_32.a" to the linker. I don't
    understand why...
    Could you please help me ?

     
  • Jim Pattee

    Jim Pattee - 2011-11-15

    Post the compile log.

     
  • leavemealone

    leavemealone - 2012-01-09

    Compiler: Default compiler

    Executing  g++.exe...
    g++.exe "C:\Users\iel\Documents\trabajo\repaso\Informática\prac12.cpp" -o "C:\Users\iel\Documents\trabajo\repaso\Informática\prac12.exe"    -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include"  -I"C:\Dev-Cpp\include\c++\3.4.2\backward"  -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32"  -I"C:\Dev-Cpp\include\c++\3.4.2"  -I"C:\Dev-Cpp\include"   -L"C:\Dev-Cpp\lib" 
    In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/fstream.h:31,
                     from C:\Users\iel\Documents\trabajo\repaso\Informática\prac12.cpp:11:
    C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
    
    C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: BFD 2.15.91 20040904 internal error, aborting at ../../src/bfd/cache.c line 495 in bfd_cache_lookup_worker
    
    C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: Please report this bug.
    
    collect2: ld returned 1 exit status
    
    Execution terminated
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.