Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost compilation fails with too many input files on AIX7.2 #613

Closed
bergen288 opened this issue Jun 1, 2020 · 4 comments · Fixed by bfgroup/b2#383
Closed

Boost compilation fails with too many input files on AIX7.2 #613

bergen288 opened this issue Jun 1, 2020 · 4 comments · Fixed by bfgroup/b2#383

Comments

@bergen288
Copy link

I am trying to compile boost_1_73_0 on my AIX7.2 server. The default compiler is gcc8.3.0. However, bootstrap.sh says gcc doesn't support C++11 while it also gives list of toolsets including gcc. See attached bootstrap.log.
bootstrap.log

If I run build.sh inside tools/build/src/engine, it won't complain about gcc, but it gives me "cpp: fatal error: too many input files".

> cpp -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jambase.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_strings.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp execunix.cpp fileunix.cpp pathunix.cpp -o b2
cpp: fatal error: too many input files
compilation terminated.

Can you please help me to figure out what's wrong?
build.log

@mclow mclow transferred this issue from boostorg/boost Jun 2, 2020
@bergen288
Copy link
Author

duplicate.

@bemehiser
Copy link

Duplicate of #614

@PositiveTom
Copy link

i also ran into this problem. how do you solve this problem now?

@janwilmans
Copy link

workaround: bfgroup/b2#323 (comment)

Kojoley added a commit to Kojoley/build that referenced this issue May 3, 2024
It dpesn't support multiple input files, leading to an error:
`
cpp: fatal error: too many input files

Fixes bfgroup/issues/323
Fixes boostorg/build/issues/613
Fixes boostorg/build/issues/614
grafikrobot pushed a commit to bfgroup/b2 that referenced this issue May 9, 2024
It dpesn't support multiple input files, leading to an error:
`
cpp: fatal error: too many input files

Fixes /issues/323
Fixes boostorg/build/issues/613
Fixes boostorg/build/issues/614
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants