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

CentOS builds failing #4503

Closed
mmitche opened this issue Sep 16, 2015 · 17 comments
Closed

CentOS builds failing #4503

mmitche opened this issue Sep 16, 2015 · 17 comments
Assignees
Labels
os-linux Linux OS (any supported distro)
Milestone

Comments

@mmitche
Copy link
Member

mmitche commented Sep 16, 2015

CentOS builds failing as of build 78:

http://dotnet-ci.cloudapp.net/job/dotnet_coreclr_linux_centos71_debug/78/

/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/libunwind-ptrace.a(_UPT_create.o): relocation R_X86_64_PC32 against undefined symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)

http://dotnet-ci.cloudapp.net/job/dotnet_coreclr_linux_centos71_debug/80/consoleFull#-120596925674b77ed1-74ea-41e6-b970-9241fe4855f3

@mmitche
Copy link
Member Author

mmitche commented Sep 16, 2015

/cc @Djuffin and @jkotas

@mmitche mmitche changed the title Centos builds failing CentOS builds failing Sep 16, 2015
@pgavlin
Copy link
Contributor

pgavlin commented Sep 22, 2015

I'm seeing the same thing on FC22. I think it's possible that either RedHat has a broken build of libunwind or that we should be linking against the shared libraries.

@Djuffin Djuffin self-assigned this Sep 22, 2015
@kangaroo
Copy link
Contributor

We should be linking against the shared libraries.

@Djuffin
Copy link
Contributor

Djuffin commented Sep 23, 2015

It looks like .so version of libunwind-ptrace is missing from libunwind RPM packages
https://apps.fedoraproject.org/packages/libunwind//contents
https://apps.fedoraproject.org/packages/libunwind-devel/contents

@kangaroo
Copy link
Contributor

@Djuffin I see libunwind.so in the -devel package?

@pgavlin
Copy link
Contributor

pgavlin commented Sep 23, 2015

@kangaroo AFAICT from readelf libunwind.so does not contain any of the libunwind-ptrace APIs.

@joshfree
Copy link
Member

/cc @steveharter

@Djuffin
Copy link
Contributor

Djuffin commented Sep 24, 2015

I reported a bug for the libunwind package
https://bugzilla.redhat.com/show_bug.cgi?id=1265874

@Djuffin Djuffin closed this as completed Oct 1, 2015
@pgavlin
Copy link
Contributor

pgavlin commented Oct 1, 2015

Should this be closed, or should we leave it open for tracking? It doesn't look like the underlying bug is fixed yet and I assume that we want the functionality provided by the library...

@Djuffin
Copy link
Contributor

Djuffin commented Oct 1, 2015

This issue was tracking a build break, not the lack of functionality. I created a new one dotnet/coreclr#1659.

@pgavlin
Copy link
Contributor

pgavlin commented Oct 1, 2015

Excellent--thanks!

@pgavlin
Copy link
Contributor

pgavlin commented Oct 1, 2015

FWIW, I've verified that this does fix the build issues I was seeing on FC22.

@steveharter
Copy link
Member

Unrelated to the libunwind linker issue, there is a compile issue now which was introduced in Build 93 (Sep 23) when the ICU native calendar libraries were added (System.Globalization.Native/calendarData.cpp). Currently working on a fix for that.

Link to latest build with error: http://dotnet-ci.cloudapp.net/job/dotnet_coreclr_linux_centos71_debug/109/

@steveharter steveharter reopened this Oct 1, 2015
@Djuffin Djuffin assigned steveharter and unassigned Djuffin Oct 1, 2015
@steveharter
Copy link
Member

Added dotnet/coreclr#1660 for the ICU compile issue

@pgavlin
Copy link
Contributor

pgavlin commented Oct 1, 2015

FWIW, I'm not seeing dotnet/coreclr#1660 on FC22.

@steveharter
Copy link
Member

Once the ICU issue is addressed there appears to be another compile issue (no issue created yet):
/home/steveharter/git/coreclr/src/ToolBox/SOS/lldbplugin/debugclient.cpp:495:14: error:
no member named 'SetFilename' in 'lldb::SBFileSpec'
fileSpec.SetFilename(name);
~~~~~~~~ ^
/home/steveharter/git/coreclr/src/ToolBox/SOS/lldbplugin/debugclient.cpp:697:14: error:
no member named 'SetFilename' in 'lldb::SBFileSpec'
fileSpec.SetFilename(name);

@steveharter
Copy link
Member

With the ICU fix the build is now passing. Closing issue

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 30, 2020
@msftgits msftgits added this to the 1.0.0-rc1 milestone Jan 30, 2020
@msftbot msftbot bot locked as resolved and limited conversation to collaborators Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

7 participants