Public bug reported:

I'm running the latest version of the gcc/g++ packages for Ubuntu 12.04:

$ g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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.

$ apt-cache policy g++-4.6
g++-4.6:
  Installed: 4.6.3-1ubuntu5
  Candidate: 4.6.3-1ubuntu5
  Version table:
 *** 4.6.3-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

$ lsb_release -rd
Description:    Ubuntu 12.04.1 LTS
Release:        12.04


I'm trying to compile a particular source file.  When I compile it as follows, 
I get the following error:

$ g++ -I ../include -I HelperLibraries -g -Wall -Wno-unused-value -shared -fPIC 
 -o build/BasicIntegerParser_continuous.so 
ParserFunctions/BasicIntegerParser_continuous.cpp ../include/Vertica.cpp
ParserFunctions/BasicIntegerParser_continuous.cpp: In member function ‘virtual 
Vertica::UDParser* 
BasicIntegerParserFactory::prepare(Vertica::ServerInterface&, 
Vertica::PerColumnParamReader&, Vertica::PlanContext&, const 
Vertica::SizedColumnTypes&)’:
ParserFunctions/BasicIntegerParser_continuous.cpp:76:16: internal compiler 
error: in build_zero_init_1, at cp/init.c:279
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc8HZt1y.out file, please attach this to 
your bugreport.

I expected the file to compile properly, or at least provide an error
message describing a fault in my code rather than in the compiler.

I have attached the preprocessed source file as requested by the error
message.

Please let me know if I can help out in debugging or fixing.

** Affects: gcc-4.6 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Preprocessed source"
   
https://bugs.launchpad.net/bugs/1093055/+attachment/3465698/+files/cc8HZt1y.out

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1093055

Title:
  internal compiler error: in build_zero_init_1, at cp/init.c:279

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1093055/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to